In Operators§
See primary documentation in context for infix fff^
sub infix:<fff^>(Mu $a, Mu $b)
Like fff, except it does not return true for matches to the right argument.
my @list = <X A B C Y>; say $_ if /A/ fff /C/ for @list; # OUTPUT: «ABC» say $_ if /A/ fff^ /C/ for @list; # OUTPUT: «AB»
For the non-sed version, see ff^.
This operator cannot be overloaded, as it's handled specially by the compiler.