From 5530442b7302de70dfdb2de6e1ffc61ec4ca6d3e Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 4 Jul 2007 08:11:36 +0000 Subject: [PATCH] regexp flags =~ s/k/p/ p4raw-id: //depot/perl@31527 --- pod/perlre.pod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)> -- 1.8.3.1