summaryrefslogtreecommitdiff
path: root/Porting/perl5160delta.pod
diff options
context:
space:
mode:
Diffstat (limited to 'Porting/perl5160delta.pod')
-rw-r--r--Porting/perl5160delta.pod17
1 files changed, 17 insertions, 0 deletions
diff --git a/Porting/perl5160delta.pod b/Porting/perl5160delta.pod
index e55b6dfa30..a117886643 100644
--- a/Porting/perl5160delta.pod
+++ b/Porting/perl5160delta.pod
@@ -895,6 +895,23 @@ itself.
C<substr> no longer calculates a value to return when called in void
context.
+=item Literal C<"{"> characters in regular expression patterns
+
+It is planned starting in v5.20 to require a literal C<"{"> to be
+escaped by, for example, preceding it with a backslash. In v5.18, a
+deprecated warning message will be emitted for all such uses. Note that
+this only affects patterns which are to match a literal C<"{">. Other
+uses of this character, such as part of a quantifier or sequence like in
+the ones below are completely unaffected:
+
+ /foo{3,5}/
+ /\p{Alphabetic}/
+ /\N{DIGIT ZERO}
+
+The removal of this will allow extensions to pattern syntax, and better
+error checking of existing syntax. See L<perlre/Quantifiers> for an
+example.
+
=back
=over 4