Re: Using \U \L in regular expressions
Re: Using \U \L in regular expressions
- Subject: Re: Using \U \L in regular expressions
- From: "Mark J. Reed" <email@hidden>
- Date: Fri, 14 Aug 2009 16:15:31 -0400
On Fri, Aug 14, 2009 at 3:57 PM, Doug McNutt<email@hidden> wrote:
> And just what does the verb capitalize mean in unicode anyway?
It's well-defined.
> Are there tables somewhere?
Of course. http://www.unicode.org/Public/UNIDATA/CaseFolding.txt
> Does that \u above understand right to left languages?
Sure, though most r2l languages don't have case distinctions.
Note that some Unicode case mappings are language-dependent; absent
language information, "i" and "I" form a case pair, but in Turkish
the uppercase version of "i" is "İ" and the lowercase of "I" is "ı".
AFAIK Perl 5 doesn't understand Unicode locales, but that might have
changed.
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden