Documentation for infix
^ff assembled from the following types:
sub infix:<^ff>(Mu , Mu )
Works like ff, except it does not return
True for items matching the start condition (including items also matching the stop condition).
my = <A B C>;say if /A/ ff /C/ for ; # OUTPUT: «A␤B␤C␤»say if /A/ ^ff /C/ for ; # OUTPUT: «B␤C␤»
The sed-like version can be found in
This operator cannot be overloaded, as it's handled specially by the compiler.