Skip Menu |
Report information
Id: 126343
Status: new
Priority: 0/
Queue: perl5

Owner: demerphq <demerphq [at] gmail.com>
Requestors: 0perlbugs [at] rexegg.com
Cc:
AdminCc:

Operating System: (no value)
PatchStatus: (no value)
Severity: low
Type: unknown
Perl Version: (no value)
Fixed In: (no value)



Subject: Quantified (*COMMIT) fails to fire
Download (untitled) / with headers
text/plain 331b
Hi Yves, Here is another (*COMMIT) behavior that feels wrong (it fails to fire). if ('1213' =~ /(?:1(*COMMIT)2)+./ ) { print "\$&='$&'\n"; } # $&='121' The engine matches '12', then it matches '1' and the (*COMMIT) token. When the second '2' fails, the engine somehow manages to backtrack across (*COMMIT), which never fires.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org