This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Unescaped left braces in regular expressions will be fatal in 5.30.
authorAbigail <abigail@abigail.be>
Mon, 21 Nov 2016 21:38:32 +0000 (22:38 +0100)
committerAbigail <abigail@abigail.be>
Mon, 16 Jan 2017 18:18:13 +0000 (19:18 +0100)
commit286c945634914f71fe8a350f9f4a89879581194e
tree9107662862e32d543f014800dec09e70530b3c59
parente5aa3f0ba3df86da81ce4bd8843afb6e86c02ffe
Unescaped left braces in regular expressions will be fatal in 5.30.

In 5.26, some uses of unescaped left braces were made fatal; they have
given a deprecation warning since 5.20. Due to an oversight, some cases
were missed, and did not give a deprecation warning. They do now.

This patch changes said deprecation warning to mention the Perl version
in which the use of an unescaped left brace will be fatal (5.30).

The patch also cleans up some unnecessary quotes inside a C<> construct
in the discussion of this warning in perldiag.pod.
pod/perldeprecation.pod
pod/perldiag.pod
regcomp.c
t/re/reg_mesg.t