diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2001-11-22 12:54:16 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-23 16:41:13 +0000 |
commit | b7518e1c776c4d16847ba06e4787ff6f9a938eef (patch) | |
tree | 74e549764502fa568cb83cedc33ceefbd21101ff /pod/perlre.pod | |
parent | 652e27996656a759fa6bdd62ab2051fd668170cf (diff) | |
download | perl-b7518e1c776c4d16847ba06e4787ff6f9a938eef.tar.gz |
Re: [DOC PATCHES] pod cleanups
Message-Id: <slrn9vptci.klv.rgarciasuarez@rafael.kazibao.net>
p4raw-id: //depot/perl@13206
Diffstat (limited to 'pod/perlre.pod')
-rw-r--r-- | pod/perlre.pod | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod index 5c7e76b5ad..900a01d740 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -183,9 +183,9 @@ In addition, Perl defines the following: \pP Match P, named property. Use \p{Prop} for longer names. \PP Match non-P \X Match eXtended Unicode "combining character sequence", - equivalent to C<(?:\PM\pM*)> + equivalent to (?:\PM\pM*) \C Match a single C char (octet) even under Unicode. - B<NOTE:> breaks up characters into their UTF-8 bytes, + NOTE: breaks up characters into their UTF-8 bytes, so you may end up with malformed pieces of UTF-8. A C<\w> matches a single alphanumeric character or C<_>, not a whole word. @@ -219,10 +219,22 @@ equivalents (if available) are as follows: word \w [3] xdigit - [1] A GNU extension equivalent to C<[ \t]>, `all horizontal whitespace'. - [2] Not I<exactly equivalent> to C<\s> since the C<[[:space:]]> includes - also the (very rare) `vertical tabulator', "\ck", chr(11). - [3] A Perl extension. +=over + +=item [1] + +A GNU extension equivalent to C<[ \t]>, `all horizontal whitespace'. + +=item [2] + +Not exactly equivalent to C<\s> since the C<[[:space:]]> includes +also the (very rare) `vertical tabulator', \ck", chr(11). + +=item [3] + +A Perl extension. + +=back For example use C<[:upper:]> to match all the uppercase characters. Note that the C<[]> are part of the C<[::]> construct, not part of the |