summaryrefslogtreecommitdiff
path: root/pod/perlre.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-06-01 08:24:40 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-06-01 08:24:40 +0000
commitf1cbbd6ecad59f8e4d9d331daa6642ebfd972ae1 (patch)
tree42d16c97acb412b54556213cf116af85e410aadb /pod/perlre.pod
parent46836f5c247eb34869c545432b788a4a49f94ab5 (diff)
downloadperl-f1cbbd6ecad59f8e4d9d331daa6642ebfd972ae1.tar.gz
further qualify references to "alphanumeric" (from Wolfgang Laun
<wolfgang.laun@alcatel.at>) p4raw-id: //depot/perl@6186
Diffstat (limited to 'pod/perlre.pod')
-rw-r--r--pod/perlre.pod7
1 files changed, 4 insertions, 3 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod
index a82ab32b73..15e58c1cf9 100644
--- a/pod/perlre.pod
+++ b/pod/perlre.pod
@@ -254,15 +254,15 @@ backspace are control characters. All characters with ord() less than
=item graph
-Any alphanumeric or punctuation character.
+Any alphanumeric or punctuation (special) character.
=item print
-Any alphanumeric or punctuation character or space.
+Any alphanumeric or punctuation (special) character or space.
=item punct
-Any punctuation character.
+Any punctuation (special) character.
=item xdigit
@@ -381,6 +381,7 @@ use for a pattern. Simply quote all non-"word" characters:
$pattern =~ s/(\W)/\\$1/g;
+(If C<use locale> is set, then this depends on the current locale.)
Today it is more common to use the quotemeta() function or the C<\Q>
metaquoting escape sequence to disable all metacharacters' special
meanings like this: