New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
*MARK names in atomic groups #16634
Comments
From ph10@hermes.cam.ac.ukCreated by ph10@cam.ac.ukThe perlre man page says this: When a match is successful, the $REGMARK variable will be set to the name of To me "most recently executed" implies that it's part of the successful path $ perl -e 'if (ax =~ /\A(?>(*:A)a)((*:B)x|)/) { print "yes >$REGMARK<\n"; } else { print "no \n"; }' That's exactly what I would expect. $ perl -e 'if (ab =~ /\A(?>(*:A)a)((*:B)x|)/) { print "yes >$REGMARK<\n"; } else { print "no \n"; }' ...but that is not: I was expecting $REGMARK to be "A" since that is the last So, is this a documentation bug ("(*MARK) inside an atomic group doesn't Philip Hazel Perl Info
|
Migrated from rt.perl.org#133381 (status was 'new')
Searchable as RT133381$
The text was updated successfully, but these errors were encountered: