From: Rafael Garcia-Suarez Date: Wed, 20 Jun 2007 07:41:15 +0000 (+0000) Subject: Fix docs for \u ; plus a POD formatting nit X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5f2b17ca5c1552a58b181b8cb3d24e5b2d2c74de;p=p5sagit%2Fp5-mst-13.2.git Fix docs for \u ; plus a POD formatting nit p4raw-id: //depot/perl@31424 --- diff --git a/pod/perlrebackslash.pod b/pod/perlrebackslash.pod index 7851bf9..71e7c06 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: heIadecimal. 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 and C). +it, while C<\u> will uppercase (or, more accurately, titlecase) the +character following it. (They perform similar functionality as the +functions C and C). 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 is an error. C<\R> is introduced in perl 5.10.