diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-12-05 21:37:26 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-12-09 09:47:18 -0700 |
commit | 41805eb96d4ab7da622f82f6104ab8fa95527f33 (patch) | |
tree | c2a059721f7ed475ba3ed3414908baefebff6e94 /pod | |
parent | 583d08e34bb7232227da37acc36ec737ce653671 (diff) | |
download | perl-41805eb96d4ab7da622f82f6104ab8fa95527f33.tar.gz |
perlrecharclass: Fix defn of [:word:]
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlrecharclass.pod | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pod/perlrecharclass.pod b/pod/perlrecharclass.pod index 7dafc54f9c..7478932e50 100644 --- a/pod/perlrecharclass.pod +++ b/pod/perlrecharclass.pod @@ -140,11 +140,12 @@ Any character not matched by C<\d> is matched by C<\D>. =head3 Word characters A C<\w> matches a single alphanumeric character (an alphabetic character, or a -decimal digit) or a connecting punctuation character, such as an -underscore ("_"). It does not match a whole word. To match a whole -word, use C<\w+>. This isn't the same thing as matching an English word, but -in the ASCII range it is the same as a string of Perl-identifier -characters. +decimal digit); or a connecting punctuation character, such as an +underscore ("_"); or a "mark" character (like some sort of accent) that +attaches to one of those. It does not match a whole word. To match a +whole word, use C<\w+>. This isn't the same thing as matching an +English word, but in the ASCII range it is the same as a string of +Perl-identifier characters. =over |