Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 43843d94b0de72c0a7e6bd61101cb1c4b4622817
https://github.com/Perl/perl5/commit/43843d94b0de72c0a7e6bd61101cb1c4b4622817
Author: Karl Williamson <[email protected]>
Date: 2022-03-03 (Thu, 03 Mar 2022)
Changed paths:
M pod/perlrecharclass.pod
Log Message:
-----------
perlrecharclass: Update regex sets pod
The pod didn't reflect restrictions on what can go into such a class.
Commit: 670bc824d15678f6d15b9a723c7a288b23317e73
https://github.com/Perl/perl5/commit/670bc824d15678f6d15b9a723c7a288b23317e73
Author: Karl Williamson <[email protected]>
Date: 2022-03-03 (Thu, 03 Mar 2022)
Changed paths:
M regcomp.c
M t/re/reg_mesg.t
M t/re/regex_sets.t
Log Message:
-----------
regex_sets: Allow all legal flags in nested calls
See https://github.com/Perl/perl5/issues/16779#issuecomment-563219424
This commit extends the flags accepted by nested calls to regex sets to
any legal set. Previously it allowed only '^', as that is what an
actual compilation would return. But as pointed out in the conversation
in that ticket, it's possible to detach flags from the rest of the
pattern, and to write equivalent ones in multiple ways.
This commit just changes one line to look for any legal flag, not
restricting it to '^'.
Compare: https://github.com/Perl/perl5/compare/3c9bbd85c943...670bc824d156