From: Rafael Garcia-Suarez Date: Tue, 8 Feb 2005 09:25:29 +0000 (+0000) Subject: A small precision in the docs for overloaded regexp escapes X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=580a9fe1f2eadca33b9bfe7700739a00e7d804ca;p=p5sagit%2Fp5-mst-13.2.git A small precision in the docs for overloaded regexp escapes (see bug #33906) p4raw-id: //depot/perl@23945 --- diff --git a/pod/perlre.pod b/pod/perlre.pod index f0d7645..bc5e7c9 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -1282,6 +1282,8 @@ this: sub invalid { die "/$_[0]/: invalid escape '\\$_[1]'"} + # We must also take care of not escaping the legitimate \\Y| + # sequence, hence the presence of '\\' in the conversion rules. my %rules = ( '\\' => '\\\\', 'Y|' => qr/(?=\S)(?