This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH: [perl #132851] Empty /(?)/
authorKarl Williamson <khw@cpan.org>
Sat, 23 Mar 2019 16:16:16 +0000 (10:16 -0600)
committerKarl Williamson <khw@cpan.org>
Sat, 23 Mar 2019 16:24:26 +0000 (10:24 -0600)
commitd9a91485293e1414746fd028b3782f699519105e
treec0d66956e1e009f7c4286f913df74cb11deea632
parent39ce401c1db32fe69d69d11cfd7b62071e52f43a
PATCH: [perl #132851] Empty /(?)/

This changes perlre to note that zero modifiers are allowed in the
(?...) construct, but changes the code to warn about this no-op, but
only under "use re 'strict'".
pod/perldiag.pod
pod/perlre.pod
regcomp.c
t/re/reg_mesg.t