Skip to content
Browse files

clean up some ucfirst fossils

fixes #15
  • Loading branch information...
1 parent 5dfd996 commit c9397212010722b5ef58d9f94632b7934c58d58c @TimToady TimToady committed
Showing with 7 additions and 6 deletions.
  1. +3 −3 S02-bits.pod
  2. +3 −2 S05-regex.pod
  3. +1 −1 S32-setting-library/Str.pod
6 S02-bits.pod
@@ -13,8 +13,8 @@ Synopsis 2: Bits and Pieces
Created: 10 Aug 2004
- Last Modified: 17 May 2012
- Version: 266
+ Last Modified: 28 Jul 2012
+ Version: 267
This document summarizes Apocalypse 2, which covers small-scale
lexical items and typological issues. (These Synopses also contain
@@ -4024,7 +4024,7 @@ whitespace in a regex.) Literal character representations are:
=head3 Other functions
There's also no longer any C<\L>, C<\U>, C<\l>, C<\u>, or C<\Q>.
-Use curlies with the appropriate function instead: C<"{ucfirst $word}">.
+Use curlies with the appropriate function instead: C<"{tclc $word}">.
=head3 Unicode codepoints
5 S05-regex.pod
@@ -251,8 +251,9 @@ Recognized policies include:
- ucfirst(lc())
- capitalize()
+ tc()
+ tclc()
+ tcuc()
In any case, only the officially matched string part of the pattern
match counts, so any sort of lookahead or contextual matching is not
2 S32-setting-library/Str.pod
@@ -110,7 +110,7 @@ leaving the rest of the characters unchanged, then returns the
modified string. If there is no titlecase mapping for the first
character, the entire string is returned unchanged. In any case,
this function never changes any character after the first. (It
-is like the old C<ucfirst> function in that respect.)
+is like the old Perl 5 C<ucfirst> function in that respect.)
=item tclc

0 comments on commit c939721

Please sign in to comment.
Something went wrong with that request. Please try again.