From: Rafael Garcia-Suarez Date: Sat, 24 Feb 2007 09:04:10 +0000 (+0000) Subject: Indexing and POD fixes X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=01c6f5f43bced0924a07064299094b1a8851d0a1;p=p5sagit%2Fp5-mst-13.2.git Indexing and POD fixes p4raw-id: //depot/perl@30386 --- diff --git a/pod/perlop.pod b/pod/perlop.pod index 52ecddc..411414c 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -1050,7 +1050,7 @@ matching and related activities. =over 8 =item qr/STRING/msixpo -X X X X X X +X X X X X X X

This operator quotes (and possibly compiles) its I as a regular expression. I is interpolated the same way as I @@ -1117,7 +1117,7 @@ for a detailed look at the semantics of regular expressions. =item m/PATTERN/msixpogc X X X X X X -X X X X X X +X X X X X

X X X =item /PATTERN/msixpogc @@ -1130,8 +1130,8 @@ rather tightly.) See also L. See L for discussion of additional considerations that apply when C is in effect. -Options are as described in qr// in addition to the following match -process modifiers +Options are as described in C; in addition, the following match +process modifiers are available: g Match globally, i.e., find all occurrences. c Do not reset search position on a failed match when /g is in effect. @@ -1152,7 +1152,7 @@ the trailing delimiter. This avoids expensive run-time recompilations, and is useful when the value you are interpolating won't change over the life of the script. However, mentioning C constitutes a promise that you won't change the variables in the pattern. If you change them, -Perl won't even notice. See also L<"qr/STRING/imosx">. +Perl won't even notice. See also L<"qr/STRING/msixpo">. If the PATTERN evaluates to the empty string, the last I matched regular expression is used instead. In this @@ -1317,7 +1317,7 @@ around the year 2168. =item s/PATTERN/REPLACEMENT/msixpogce X X X X -X X X X X X X X +X X X X X X

X X X X Searches a string for a pattern, and if found, replaces that pattern with the replacement text and returns the number of substitutions @@ -1425,6 +1425,8 @@ to occur that you might want. Here are two common cases: =head2 Quote-Like Operators X +=over 4 + =item q/STRING/ X X X<'> X<''>