diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-01-17 08:58:53 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-01-17 09:20:20 -0700 |
commit | cfaf538b6276c6a8ef80ff6c66e106c6a4f1caaa (patch) | |
tree | b452229efc219b8936089921181cd3bedb77718a /pod/perlrebackslash.pod | |
parent | 0c6e81ebcf01f01349b1260a05c55b61266c80d4 (diff) | |
download | perl-cfaf538b6276c6a8ef80ff6c66e106c6a4f1caaa.tar.gz |
Add /a regex modifier
This restricts certain constructs, like \w, to matching in the ASCII range
only.
Diffstat (limited to 'pod/perlrebackslash.pod')
-rw-r--r-- | pod/perlrebackslash.pod | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pod/perlrebackslash.pod b/pod/perlrebackslash.pod index 1b0689b558..6422a2dd24 100644 --- a/pod/perlrebackslash.pod +++ b/pod/perlrebackslash.pod @@ -366,6 +366,10 @@ digit, while the character class C<\s> matches any whitespace character. New in perl 5.10.0 are the classes C<\h> and C<\v> which match horizontal and vertical whitespace characters. +The exact set of characters matched by C<\d>, C<\s>, and C<\w> varies +depending on various pragma and regular expression modifiers. See +L<perlre>. + The uppercase variants (C<\W>, C<\D>, C<\S>, C<\H>, and C<\V>) are character classes that match, respectively, any character that isn't a word character, digit, whitespace, horizontal whitespace, or vertical |