[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Should [:upper:] match title case?
Should [:upper:] match title case?
The documentation says it does. But it doesn't. There is an
undocumented \p{IsTitle} that does.
Here is a complete list, I believe, of the \p properties that Perl
defines that are not part of the Unicode standard. The 2nd column is a
comment. Many of these are not documented anywhere that I'm aware of
\p{ASCII} [[:ASCII:]]
\p{Alnum} [[:Alnum:]]
\p{Alphabetic} [\p{L}\p{Nl}\p{OtherAlphabetic}]
\p{Alpha} [[:Alpha:]]
\p{Any} Alias for \p{Any}
([\x{0000}-\x{10FFFF}])
\p{Any} [\x{0000}-\x{10FFFF}]
\p{Assigned} All assigned code points
\p{Blank} [[:Blank:]]
\p{Cntrl} [[:Cntrl:]]
\p{DefaultIgnorableCodePoint}
(?![\p{WhiteSpace}\x{FFF9}-\x{FFFB}])[\p{Cf}\p{Cc}\p{Cs}\p{NoncharacterCodePoint}\p{VariationSelector}\p{OtherDefaultIgnorableCodePoint}]
\p{Digit} [[:Digit:]]
\p{Graph} [[:Graph:]]
\p{HorizSpace} \h
\p{IdContinue}
[\p{ID_Start}\p{Mn}\p{Mc}\p{Nd}\p{Pc}\p{OtherIDContinue}]
\p{IdStart}
[\p{Ll}\p{Lu}\p{Lt}\p{Lm}\p{Lo}\p{Nl}\p{OtherIDStart}]
\p{LC} [\p{Ll}\p{Lu}\p{Lt}]
\p{Lowercase} [\p{Ll}\p{OtherLowercase}]
\p{Lower} [[:Lower:]]
\p{Math} [\p{Sm}\p{OtherMath}]
\p{Print} [[:Print:]]
\p{Punct} [[:Punct:]]
\p{SpacePerl} \s
\p{Space} [[:Space:]]
\p{Title} [[:Title:]]
\p{Uppercase} [\p{Lu}\p{OtherUppercase}]
\p{Upper} [[:Upper:]]
\p{VertSpace} \v
\p{Word} [[:Word:]]
\p{XDigit} [[:XDigit:]]
- Follow-Ups from:
-
"Rafael Garcia-Suarez" <rgarciasuarez@gmail.com>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]