diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-06-20 07:41:15 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-06-20 07:41:15 +0000 |
commit | 5f2b17ca5c1552a58b181b8cb3d24e5b2d2c74de (patch) | |
tree | f6d66f264215cbfdbb87954385a4cc7820e23286 /pod/perlrebackslash.pod | |
parent | 757754a6231584cc746ffd4510e6d8b8f2691824 (diff) | |
download | perl-5f2b17ca5c1552a58b181b8cb3d24e5b2d2c74de.tar.gz |
Fix docs for \u ; plus a POD formatting nit
p4raw-id: //depot/perl@31424
Diffstat (limited to 'pod/perlrebackslash.pod')
-rw-r--r-- | pod/perlrebackslash.pod | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pod/perlrebackslash.pod b/pod/perlrebackslash.pod index 7851bf9f6a..71e7c06e4b 100644 --- a/pod/perlrebackslash.pod +++ b/pod/perlrebackslash.pod @@ -92,7 +92,7 @@ quoted constructs>. \s Character class for white space. \S Character class for non white space. \t Tab character. - \u Uppercase next character. + \u Titlecase next character. \U Uppercase till \E. \v Character class for vertical white space. \V Character class for non vertical white space. @@ -255,8 +255,9 @@ Mnemonic: heI<x>adecimal. A number of backslash sequences have to do with changing the character, or characters following them. C<\l> will lowercase the character following -it, while C<\u> will uppercase the character following it. (They perform -similar functionality as the functions C<lcfirst> and C<ucfirst>). +it, while C<\u> will uppercase (or, more accurately, titlecase) the +character following it. (They perform similar functionality as the +functions C<lcfirst> and C<ucfirst>). To uppercase or lowercase several characters, one might want to use C<\L> or C<\U>, which will lowercase/uppercase all characters following @@ -492,7 +493,7 @@ a newline by Unicode. This includes all characters matched by C<\v> (vertical white space), and the multi character sequence C<"\x0D\x0A"> (carriage return followed by a line feed, aka the network newline, or the newline used in Windows text files). C<\R> is equivalent with -C<(?>\x0D\x0A)|\v)>. Since C<\R> can match a more than one character, +C<< (?>\x0D\x0A)|\v) >>. Since C<\R> can match a more than one character, it cannot be put inside a bracketed character class; C</[\R]/> is an error. C<\R> is introduced in perl 5.10. |