summaryrefslogtreecommitdiff
path: root/pod/perlreref.pod
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2010-10-30 15:20:24 -0600
committerFather Chrysostomos <sprout@cpan.org>2010-10-31 12:21:05 -0700
commitd35dd6c678badc24d545f8b7b7a3ebdf0fb0b355 (patch)
tree1c403ccacc67a1338697eb9b483d81b31273cf34 /pod/perlreref.pod
parentcbc24f92709e23449028ec3036bda16c0af294fb (diff)
downloadperl-d35dd6c678badc24d545f8b7b7a3ebdf0fb0b355.tar.gz
DOCs: Clarify that \w matches marks and \Pc
The previous documentation really didn't specify what \w is. It matches the underscore, but also all other connector punctuation, plus any marks, such as diacritical accents that occur within a word.
Diffstat (limited to 'pod/perlreref.pod')
-rw-r--r--pod/perlreref.pod5
1 files changed, 3 insertions, 2 deletions
diff --git a/pod/perlreref.pod b/pod/perlreref.pod
index 4805c9bdaf..5247a637ca 100644
--- a/pod/perlreref.pod
+++ b/pod/perlreref.pod
@@ -170,8 +170,9 @@ POSIX character classes and their Unicode and Perl equivalents:
space PosixSpace XPosixSpace [\s\cK] Whitespace
PerlSpace XPerlSpace \s Perl's whitespace def'n
upper PosixUpper XPosixUpper Uppercase characters
- word PerlWord XPosixWord \w Alnum + '_' (Perl
- extension)
+ word PerlWord XPosixWord \w Alnum + Unicode marks +
+ connectors, like '_'
+ (Perl extension)
xdigit ASCII_Hex_Digit XPosixDigit Hexadecimal digit,
ASCII-range is
[0-9A-Fa-f]