summaryrefslogtreecommitdiff
path: root/pod/perlrecharclass.pod
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2017-06-26 13:19:55 +0200
committerYves Orton <demerphq@gmail.com>2017-12-07 20:09:35 +0100
commit19a498a461d7c81ae3507c450953d1148efecf4f (patch)
tree9e78c7f8c6471d1e99e3188b7e2f2e2a00c758ee /pod/perlrecharclass.pod
parentaf05e4c0b428a803fcdb60c956b1da7ff8a95926 (diff)
downloadperl-19a498a461d7c81ae3507c450953d1148efecf4f.tar.gz
fix #131649 - extended charclass can trigger assert
The extended charclass parser makes some assumptions during the first pass which are only true on well structured input, and it does not properly catch various errors. later on the code assumes that things the first pass will let through are valid, when in fact they should trigger errors.
Diffstat (limited to 'pod/perlrecharclass.pod')
-rw-r--r--pod/perlrecharclass.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlrecharclass.pod b/pod/perlrecharclass.pod
index 79480e4131..8c008507d1 100644
--- a/pod/perlrecharclass.pod
+++ b/pod/perlrecharclass.pod
@@ -1128,8 +1128,8 @@ hence both of the following work:
Any contained POSIX character classes, including things like C<\w> and C<\D>
respect the C<E<sol>a> (and C<E<sol>aa>) modifiers.
-C<< (?[ ]) >> is a regex-compile-time construct. Any attempt to use
-something which isn't knowable at the time the containing regular
+Note that C<< (?[ ]) >> is a regex-compile-time construct. Any attempt
+to use something which isn't knowable at the time the containing regular
expression is compiled is a fatal error. In practice, this means
just three limitations: