And i think in this case, there is no difference between :
my @a = $str =~ /(aaaaa.*?)(?=aaaaa|$)/gs ;
and
right ?my @a = $str =~ /aaaaa.*?(?=aaaaa|$)/gs ;
In reply to Re^2: multi-line regexp
by doctor_moron
in thread multi-line regexp
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |