summaryrefslogtreecommitdiff
path: root/pod/perlrecharclass.pod
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-02-19 21:39:32 -0700
committerKarl Williamson <khw@cpan.org>2017-02-19 22:45:00 -0700
commit7d4c055d01b7da928b947b1c377211e88f59396d (patch)
treeb535b461d80919c25563178fe38ead7bcbd92bf3 /pod/perlrecharclass.pod
parent1ca728708a2c9223bb840be4f99c58df50b3c648 (diff)
downloadperl-7d4c055d01b7da928b947b1c377211e88f59396d.tar.gz
perlrecharclass: Simplify by referring to other pod
The (?[...] has 're strict' rules. Slightly reword to more directly refer to the documentation on that.
Diffstat (limited to 'pod/perlrecharclass.pod')
-rw-r--r--pod/perlrecharclass.pod13
1 files changed, 8 insertions, 5 deletions
diff --git a/pod/perlrecharclass.pod b/pod/perlrecharclass.pod
index 1c07632dec..22f71ab211 100644
--- a/pod/perlrecharclass.pod
+++ b/pod/perlrecharclass.pod
@@ -1088,11 +1088,14 @@ white space within it. This is allowed because C<E<sol>xx> is
automatically turned on within this construct.
All the other escapes accepted by normal bracketed character classes are
-accepted here as well; but unrecognized escapes that generate warnings
-in normal classes are fatal errors here.
-
-All warnings from these class elements are fatal, as well as some
-practices that don't currently warn. For example you cannot say
+accepted here as well.
+
+Because this construct compiles under
+L<C<use re 'strict>|re/'strict' mode>, unrecognized escapes that
+generate warnings in normal classes are fatal errors here, as well as
+all other warnings from these class elements, as well as some
+practices that don't currently warn outside C<re 'strict'>. For example
+you cannot say
/(?[ [ \xF ] ])/ # Syntax error!