In Operators§

See primary documentation in context for infix fff^

sub infix:<fff^>(Mu $aMu $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: «A␤B␤C␤» 
say $_ if /A/ fff^ /C/ for @list;  # OUTPUT: «A␤B␤»

For the non-sed version, see ff^.

This operator cannot be overloaded, as it's handled specially by the compiler.