Change 11440 by jhi@alpha on 2001/07/22 14:51:14
Subject: Re: [ID 20010720.010] WHere's [:isprint:]?
From: Jeffrey Friedl <[EMAIL PROTECTED]>
Message-Id: <[EMAIL PROTECTED]>
Date: Fri, 20 Jul 2001 22:59:25 -0700 (PDT)
Affected files ...
... //depot/perl/ext/POSIX/POSIX.pod#21 edit
Differences ...
==== //depot/perl/ext/POSIX/POSIX.pod#21 (text) ====
Index: perl/ext/POSIX/POSIX.pod
--- perl/ext/POSIX/POSIX.pod.~1~ Sun Jul 22 09:00:06 2001
+++ perl/ext/POSIX/POSIX.pod Sun Jul 22 09:00:06 2001
@@ -617,7 +617,7 @@
This is identical to the C function, except that it can apply to a single
character or to a whole string. Consider using regular expressions and the
-C</[[:lower:]]/> construct instead. Do B<not> use C</a-z/>.
+C</[[:lower:]]/> construct instead. Do B<not> use C</[a-z]/>.
=item isprint
@@ -636,12 +636,15 @@
This is identical to the C function, except that it can apply to a single
character or to a whole string. Consider using regular expressions and the
C</[[:space:]]/> construct instead, or the C</\s/> construct.
+(Note that C</\s/> and C</[[:space:]]/> are slightly different in that
+C</[[:space:]]/> can normally match a vertical tab, while C</\s/> does
+not.)
=item isupper
This is identical to the C function, except that it can apply to a single
character or to a whole string. Consider using regular expressions and the
-C</[[:upper:]]/> construct instead. Do B<not> use C</A-Z/>.
+C</[[:upper:]]/> construct instead. Do B<not> use C</[A-Z]/>.
=item isxdigit
End of Patch.