From 245490700bb744b58c708516d2d3c08f18583dc3 Mon Sep 17 00:00:00 2001 From: Paul Gaborit Date: Wed, 18 Mar 2009 09:19:48 +0100 Subject: Doc fix: the /k regexp modifier should really be written /p --- pod/perlretut.pod | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pod/perlretut.pod') diff --git a/pod/perlretut.pod b/pod/perlretut.pod index 67e06700d4..0a2d563f2a 100644 --- a/pod/perlretut.pod +++ b/pod/perlretut.pod @@ -2133,8 +2133,8 @@ example is This style of commenting has been largely superseded by the raw, freeform commenting that is allowed with the C modifier. -The modifiers C, C, C, C and C (or any -combination thereof) can also embedded in +The modifiers C, C, C and C (or any +combination thereof) can also be embedded in a regexp using C<(?i)>, C<(?m)>, C<(?s)>, and C<(?x)>. For instance, /(?i)yes/; # match 'yes' case insensitively @@ -2159,7 +2159,7 @@ that must have different modifiers: } } -The second advantage is that embedded modifiers (except C, which +The second advantage is that embedded modifiers (except C, which modifies the entire regexp) only affect the regexp inside the group the embedded modifier is contained in. So grouping can be used to localize the modifier's effects: -- cgit v1.2.1