From: Karl Williamson Date: Thu, 6 Dec 2012 04:37:26 +0000 (-0700) Subject: perlrecharclass: Fix defn of [:word:] X-Git-Tag: v5.17.7~144 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/41805eb96d4ab7da622f82f6104ab8fa95527f33 perlrecharclass: Fix defn of [:word:] --- diff --git a/pod/perlrecharclass.pod b/pod/perlrecharclass.pod index 7dafc54..7478932 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