This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Deprecate multiple "x" in "/xx"
authorKarl Williamson <khw@cpan.org>
Mon, 22 Sep 2014 17:56:48 +0000 (11:56 -0600)
committerKarl Williamson <khw@cpan.org>
Mon, 29 Sep 2014 17:07:40 +0000 (11:07 -0600)
commitcc4d09e1f55f1a823a9b410aa3e43aab0df8147a
tree476764295d45b9f5528ffa62205dc79ff77ca6a3
parent477afe810ce7934cb37983108672d43de207e0c5
Deprecate multiple "x" in "/xx"

 It is planned for a future Perl release to have /xx mean something
 different from just /x.  To prepare for this, this commit raises a
 deprecation warning if someone currently has this usage.  A grep of CPAN
 did not turn up any instances of this, but this is to be safe anyway.

 The added code is more general than actually needed, in case we want to
 do this for another flag.
ext/re/re.pm
ext/re/t/reflags.t
pod/perldelta.pod
pod/perldiag.pod
regcomp.c
regexp.h
t/re/reg_mesg.t
toke.c