diff options
author | Karl Williamson <public@khwilliamson.com> | 2010-12-26 10:29:48 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-01-16 16:36:43 -0700 |
commit | 596403393d484d37d763f5a7290dfa2ff3092da0 (patch) | |
tree | 9cc3fb6e9e2b66a06f0bda37f62df877f8df2a38 /ext | |
parent | 4da3eb8bb5320b76c17c961d2d4917aeb123961b (diff) | |
download | perl-596403393d484d37d763f5a7290dfa2ff3092da0.tar.gz |
Subject: [PATCH] re.pm: Correct pod statement
The /d also overrides one of the other pragmas; not just /u, /l.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/re/re.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/re/re.pm b/ext/re/re.pm index 886f0a2335..665947e8b7 100644 --- a/ext/re/re.pm +++ b/ext/re/re.pm @@ -291,7 +291,7 @@ default, simply put at the top of your code. -The /dul flags cancel each other out. So, in this example, +The character set /dul flags cancel each other out. So, in this example, use re "/u"; "ss" =~ /\xdf/; @@ -300,7 +300,7 @@ The /dul flags cancel each other out. So, in this example, the second C<use re> does an implicit C<no re '/u'>. -Turning on the /l and /u flags with C<use re> takes precedence over the +Turning on one of the character set flags with C<use re> takes precedence over the C<locale> pragma and the 'unicode_strings' C<feature>, for regular expressions. Turning off one of these flags when it is active reverts to the behaviour specified by whatever other pragmata are in scope. For |