Documentation for infix ^ff^

Documentation for infix ^ff^, assembled from the following types:

language documentation Operators

From Operators

(Operators) infix ^ff^

sub infix:<^ff^>(Mu $aMu $b)

Works like ff, except it does not return True for items matching either the stop or start condition (or both).

my @list = <A B C>;
say $_ if /A/ ff /C/ for @list;    # OUTPUT: «A␤B␤C␤» 
say $_ if /A/ ^ff^ /C/ for @list;  # OUTPUT: «B␤» 

The sed-like version can be found in ^fff^.

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