summaryrefslogtreecommitdiff
path: root/pod/perlre.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-28 20:42:13 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-28 20:42:13 +0000
commitee90c5f25adc8ebba507355f65ac49822f0e5add (patch)
tree891f521b63ab23fd1a7ff13d45a2de72d099aa6f /pod/perlre.pod
parentcc1ec5fd7bf7637434334ebb09cc4b9df70ed219 (diff)
downloadperl-ee90c5f25adc8ebba507355f65ac49822f0e5add.tar.gz
tests for change#4642 and pod fixups suggested by Ralph Corderoy
<ralph@inputplus.demon.co.uk> p4raw-link: @4642 on //depot/perl: db7ec62399075c965a182629c9ca8ed4044fc594 p4raw-id: //depot/perl@4732
Diffstat (limited to 'pod/perlre.pod')
-rw-r--r--pod/perlre.pod26
1 files changed, 12 insertions, 14 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod
index 9c88a0bd4c..70ec00c6cb 100644
--- a/pod/perlre.pod
+++ b/pod/perlre.pod
@@ -121,7 +121,7 @@ to integral values less than a preset limit defined when perl is built.
This is usually 32766 on the most common platforms. The actual limit can
be seen in the error message generated by code such as this:
- $_ **= $_ , / {$_} / for 2 .. 42;
+ $_ **= $_ , / {$_} / for 2 .. 42;
By default, a quantified subpattern is "greedy", that is, it will match as
many times as possible (given a particular starting location) while still
@@ -191,7 +191,7 @@ See L<utf8> for details about C<\pP>, C<\PP>, and C<\X>.
The POSIX character class syntax
- [:class:]
+ [:class:]
is also available. The available classes and their backslash
equivalents (if available) are as follows:
@@ -214,7 +214,7 @@ 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 whole
character class. For example:
- [01[:alpha:]%]
+ [01[:alpha:]%]
matches one, zero, any alphabetic character, and the percentage sign.
@@ -247,29 +247,27 @@ The assumedly non-obviously named classes are:
=item cntrl
- Any control character. Usually characters that don't produce
- output as such but instead control the terminal somehow:
- for example newline and backspace are control characters.
- All characters with ord() less than 32 are most often control
- classified as characters.
+Any control character. Usually characters that don't produce output as
+such but instead control the terminal somehow: for example newline and
+backspace are control characters. All characters with ord() less than
+32 are most often control classified as characters.
=item graph
- Any alphanumeric or punctuation character.
+Any alphanumeric or punctuation character.
=item print
- Any alphanumeric or punctuation character or space.
+Any alphanumeric or punctuation character or space.
=item punct
- Any punctuation character.
+Any punctuation character.
=item xdigit
- Any hexadecimal digit. Though this may feel silly
- (/0-9a-f/i would work just fine) it is included
- for completeness.
+Any hexadecimal digit. Though this may feel silly (/0-9a-f/i would
+work just fine) it is included for completeness.
=item