Change 34709 by [EMAIL PROTECTED] on 2008/11/03 22:11:58
Purge accidental references to //p, ${^PREMATCH}, ${^MATCH} and
${^POSTMATCH}.
Affected files ...
... //depot/maint-5.8/perl/pod/perlop.pod#40 edit
... //depot/maint-5.8/perl/pod/perlre.pod#26 edit
Differences ...
==== //depot/maint-5.8/perl/pod/perlop.pod#40 (text) ====
Index: perl/pod/perlop.pod
--- perl/pod/perlop.pod#39~33932~ 2008-05-25 16:00:21.000000000 -0700
+++ perl/pod/perlop.pod 2008-11-03 14:11:58.000000000 -0800
@@ -1083,8 +1083,6 @@
s Treat string as single line. (Make . match a newline)
i Do case-insensitive pattern matching.
x Use extended regular expressions.
- p When matching preserve a copy of the matched string so
- that ${^PREMATCH}, ${^MATCH}, ${^POSTMATCH} will be defined.
o Compile pattern only once.
If a precompiled pattern is embedded in a larger pattern then the effect
==== //depot/maint-5.8/perl/pod/perlre.pod#26 (text) ====
Index: perl/pod/perlre.pod
--- perl/pod/perlre.pod#25~33923~ 2008-05-25 13:30:46.000000000 -0700
+++ perl/pod/perlre.pod 2008-11-03 14:11:58.000000000 -0800
@@ -63,12 +63,6 @@
Extend your pattern's legibility by permitting whitespace and comments.
-=item p
-X</p> X<regex, preserve> X<regexp, preserve>
-
-Preserve the string matched such that ${^PREMATCH}, {$^MATCH}, and
-${^POSTMATCH} are available for use after matching.
-
=item g and c
X</g> X</c>
End of Patch.