summaryrefslogtreecommitdiff
path: root/pod/perlreref.pod
diff options
context:
space:
mode:
authorIain Truskett <spoon@cpan.org>2003-08-12 23:59:27 +1000
committerJarkko Hietaniemi <jhi@iki.fi>2003-08-12 04:55:32 +0000
commit47e8a552181f4e4d9a6075d02dfd1f5863b44bf7 (patch)
tree35659d1eeb390525ba6385d29e8060be3eff1aa7 /pod/perlreref.pod
parent6c52f3eb45c9b0bdbcd8209f58fd8ec7fbae4aa8 (diff)
downloadperl-47e8a552181f4e4d9a6075d02dfd1f5863b44bf7.tar.gz
Re: [PATCH] perlreref.pod tweaks
Message-ID: <20030812035927.GJ7914@gytha.anu.edu.au> plus explain "Titlecase". p4raw-id: //depot/perl@20625
Diffstat (limited to 'pod/perlreref.pod')
-rw-r--r--pod/perlreref.pod17
1 files changed, 15 insertions, 2 deletions
diff --git a/pod/perlreref.pod b/pod/perlreref.pod
index 9f083c7e86..c6c7752bae 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</Titlecase>.
+
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<opening> 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<opening> 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</Titlecase>.
+
+=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.