summaryrefslogtreecommitdiff
path: root/pod/perlre.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-12-01 06:45:53 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-12-01 06:45:53 +0000
commit3bec356411ea30186c2876cb56cbf5d69845ed32 (patch)
treeea703e5487a8a500d4231f1d58a7d1441613a2ca /pod/perlre.pod
parent78109b9e7880b756b1f4157b2eae0f83f070e89b (diff)
downloadperl-3bec356411ea30186c2876cb56cbf5d69845ed32.tar.gz
Get the three different space character classes right under utf8.
p4raw-id: //depot/perl@7940
Diffstat (limited to 'pod/perlre.pod')
-rw-r--r--pod/perlre.pod6
1 files changed, 4 insertions, 2 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod
index 182f5bd03f..c5ecb13c40 100644
--- a/pod/perlre.pod
+++ b/pod/perlre.pod
@@ -225,19 +225,21 @@ whole character class. For example:
matches zero, one, any alphabetic character, and the percentage sign.
If the C<utf8> pragma is used, the following equivalences to Unicode
-\p{} constructs hold:
+\p{} constructs and equivalent backslash character classes (if available),
+will hold:
alpha IsAlpha
alnum IsAlnum
ascii IsASCII
blank IsSpace
cntrl IsCntrl
- digit IsDigit
+ digit IsDigit \d
graph IsGraph
lower IsLower
print IsPrint
punct IsPunct
space IsSpace
+ IsSpacePerl \s
upper IsUpper
word IsWord
xdigit IsXDigit