summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-11-06 19:53:52 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-11-06 19:53:52 +0000
commit5e25a3e50bb25a1da95caa372caa582399fa53cc (patch)
tree0b1074146c96a608f16418387203bca53c8fe3be
parentd370611815346ab16486a214120c74920e95c043 (diff)
downloadperl-5e25a3e50bb25a1da95caa372caa582399fa53cc.tar.gz
Found by Juerd, don't document that \w, \s and \d don't include
all Unicode matching characters p4raw-id: //depot/perl@32230
-rw-r--r--pod/perlcheat.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlcheat.pod b/pod/perlcheat.pod
index 8173aa788c..440b35991b 100644
--- a/pod/perlcheat.pod
+++ b/pod/perlcheat.pod
@@ -47,9 +47,9 @@ already be overwhelming.
list ops () capture
not (?:) no capture REGEX CHARCLASSES
and [] character class . == [^\n]
- or xor | alternation \s == [\x20\f\t\r\n]
- \b word boundary \w == [A-Za-z0-9_]
- \z string end \d == [0-9]
+ or xor | alternation \s == whitespace
+ \b word boundary \w == word characters
+ \z string end \d == digits
DO \S, \W and \D negate
use strict; DON'T
use warnings; "$foo" LINKS