The following appears to be a bug or limit in perl:
example: /y.*?y/s; print $&;
If a match is greater than about 32k (using '?' for a minimum match) it returns
null, if less than about 32k it works ok.
This is also the case with loops:
while ($text =~ /y.*?y)/sg) {
print $&;
}
Currently running perl 5.001m on SunOS 4.1.3
example: /y.*?y/s; print $&;
If a match is greater than about 32k (using '?' for a minimum match) it returns
null, if less than about 32k it works ok.
This is also the case with loops:
while ($text =~ /y.*?y)/sg) {
print $&;
}
Currently running perl 5.001m on SunOS 4.1.3