diff options
author | Paul Gaborit <Paul.Gaborit@enstimac.fr> | 2009-03-18 09:19:48 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-03-18 09:20:52 +0100 |
commit | 245490700bb744b58c708516d2d3c08f18583dc3 (patch) | |
tree | 8590bfcfb1f76f2e67a3404cff920511c0e1ee26 /pod/perlretut.pod | |
parent | 6210e03fb1e3d8a3e81d83ab75e0db0d050fc703 (diff) | |
download | perl-245490700bb744b58c708516d2d3c08f18583dc3.tar.gz |
Doc fix: the /k regexp modifier should really be written /p
Diffstat (limited to 'pod/perlretut.pod')
-rw-r--r-- | pod/perlretut.pod | 6 |
1 files changed, 3 insertions, 3 deletions
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<//x> modifier. -The modifiers C<//i>, C<//m>, C<//s>, C<//x> and C<//k> (or any -combination thereof) can also embedded in +The modifiers C<//i>, C<//m>, C<//s> and C<//x> (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<//k>, which +The second advantage is that embedded modifiers (except C<//p>, 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: |