From 47e8a552181f4e4d9a6075d02dfd1f5863b44bf7 Mon Sep 17 00:00:00 2001 From: Iain Truskett Date: Tue, 12 Aug 2003 23:59:27 +1000 Subject: [PATCH] Re: [PATCH] perlreref.pod tweaks Message-ID: <20030812035927.GJ7914@gytha.anu.edu.au> plus explain "Titlecase". p4raw-id: //depot/perl@20625 --- pod/perlreref.pod | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/pod/perlreref.pod b/pod/perlreref.pod index 9f083c7..c6c7752 100644 --- a/pod/perlreref.pod +++ b/pod/perlreref.pod @@ -87,10 +87,12 @@ These work as in normal strings. \l Lowercase next character \u Uppercase next character \L Lowercase until \E - \U Uppercase until \E + \U Titlecase until \E \Q Disable pattern metacharacters until \E \E End case modification +For Titlecase, see L. + This one works differently from normal strings: \b An assertion, not backspace, except in a character class @@ -211,7 +213,8 @@ Captured groups are numbered according to their I paren. lc Lowercase a string lcfirst Lowercase first char of a string uc Uppercase a string - ucfirst Uppercase first char of a string + ucfirst Titlecase first char of a string + pos Return or set current match position quotemeta Quote metacharacters reset Reset ?pattern? status @@ -219,6 +222,16 @@ Captured groups are numbered according to their I paren. split Use regex to split a string into parts +The first four of these are identical to the escape sequences \l, \u, +\L, and \U. For Titlecase, see L. + +=head1 Terminology + +=head2 Titlecase + +Unicode concept which most often is equal to uppercase, but for +certain characters like the German "sharp s" there is a difference. + =head1 AUTHOR Iain Truskett. -- 2.7.4