summaryrefslogtreecommitdiff
path: root/pod/perldiag.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-08-10 12:55:16 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-10 12:55:16 +0000
commit380a0633f558691622287909f0e36106a39454f8 (patch)
tree7fb3d5545ce34890ebe1993367df0362e01d5716 /pod/perldiag.pod
parent4e34385f1add67f206da4307d1e033b6827d3720 (diff)
downloadperl-380a0633f558691622287909f0e36106a39454f8.tar.gz
Get back into sync with Jeffrey on the enhanced regex warnings.
p4raw-id: //depot/perl@6563
Diffstat (limited to 'pod/perldiag.pod')
-rw-r--r--pod/perldiag.pod9
1 files changed, 5 insertions, 4 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index c20d71d568..83a02b2d8d 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -3431,13 +3431,14 @@ iterating over it, and someone else stuck a message in the stream of
data Perl expected. Someone's very confused, or perhaps trying to
subvert Perl's population of %ENV for nefarious purposes.
-=item unmatched [] in regexp
+=item unmatched [ at <HERE< mark in regex m/%s/
-(F) The brackets around a character class must match. If you wish to
+(F) The brackets around a character class must match. If you wish to
include a closing bracket in a character class, backslash it or put it
-first. See L<perlre>.
+first. See L<perlre>. The <HERE< shows in the regular expression about
+where the escape was discovered.
-=item unmatched () in regexp
+=item unmatched ( in regexp at <HERE< mark in regex m/%s/
(F) Unbackslashed parentheses must always be balanced in regular
expressions. If you're a vi user, the % key is valuable for finding the