summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorKarl Williamson <khw@khw-desktop.(none)>2010-07-18 13:12:39 -0600
committerDavid Golden <dagolden@cpan.org>2010-07-19 01:04:59 -0400
commite1f120a9bcedababe219d448b4b0cb0b1153e992 (patch)
tree277d8935fce639a5c65becbe4b692db976540987 /pod/perldiag.pod
parent388a738468888624b9ee18ce319fa7082b2df529 (diff)
downloadperl-e1f120a9bcedababe219d448b4b0cb0b1153e992.tar.gz
pods: mention \o{}, 3 octal digits
This patch adds a mention of \o{} to perlre to avoid the backreference ambiguities, and uses 3 octal digits in an example, and suggests using 3 digits where 2 were suggested before. Signed-off-by: David Golden <dagolden@cpan.org>
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 9f9fe4b553..91664571b2 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -3799,8 +3799,8 @@ backreferences), but using 0 does not make sense.
(F) You used something like C<\7> in your regular expression, but there are
not at least seven sets of capturing parentheses in the expression. If you
-wanted to have the character with value 7 inserted into the regular expression,
-prepend a zero to make the number at least two digits: C<\07>
+wanted to have the character with ordinal 7 inserted into the regular expression,
+prepend zeroes to make it three digits long: C<\007>
The <-- HERE shows in the regular expression about where the problem was
discovered.