regex :
Documentation for regex :
assembled from the following types:
language documentation Regexes
From Regexes
(Regexes) regex :
You can prevent backtracking in regexes by attaching a :
modifier to the quantifier:
say so 'abababa' ~~ /a .* aba/; # OUTPUT: «True»say so 'abababa' ~~ /a .*: aba/; # OUTPUT: «False»