diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-07-04 08:11:36 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-07-04 08:11:36 +0000 |
commit | de81fc4af9dd90307d6c55d1d18c6486e200da9e (patch) | |
tree | 56c46457f9399bda14654fc5b02725772793c419 | |
parent | 00aa9de61124d4adcaf38aa548693b5fb739c96e (diff) | |
download | perl-de81fc4af9dd90307d6c55d1d18c6486e200da9e.tar.gz |
regexp flags =~ s/k/p/
p4raw-id: //depot/perl@31527
-rw-r--r-- | pod/perlre.pod | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod index 0bfd09ceae..6060e181b7 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -698,9 +698,9 @@ will match C<blah> in any case, some spaces, and an exact (I<including the case> repetition of the previous word, assuming the C</x> modifier, and no C</i> modifier outside this group. -Note that the C<k> modifier is special in that it can only be enabled, +Note that the C<p> 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<use warnings>. =item C<(?:pattern)> |