From: Rafael Garcia-Suarez Date: Wed, 4 Jul 2007 08:11:36 +0000 (+0000) Subject: regexp flags =~ s/k/p/ X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5530442b7302de70dfdb2de6e1ffc61ec4ca6d3e;p=p5sagit%2Fp5-mst-13.2.git regexp flags =~ s/k/p/ p4raw-id: //depot/perl@31527 --- diff --git a/pod/perlre.pod b/pod/perlre.pod index 0bfd09c..6060e18 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -698,9 +698,9 @@ will match C in any case, some spaces, and an exact (I repetition of the previous word, assuming the C modifier, and no C modifier outside this group. -Note that the C modifier is special in that it can only be enabled, +Note that the C

modifier is special in that it can only be enabled, not disabled, and that its presence anywhere in a pattern has a global -effect. Thus C<(?-k)> and C<(?-k:...)> are meaningless and will warn +effect. Thus C<(?-p)> and C<(?-p:...)> are meaningless and will warn when executed under C. =item C<(?:pattern)>