• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using \U \L in regular expressions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Using \U \L in regular expressions (From: Tim Mansour <email@hidden>)
 >Re: Using \U \L in regular expressions (From: Emmanuel LEVY <email@hidden>)
 >Re: Using \U \L in regular expressions (From: Tim Mansour <email@hidden>)
 >Re: Using \U \L in regular expressions (From: "Mark J. Reed" <email@hidden>)
 >Re: Using \U \L in regular expressions (From: email@hidden (Randal L. Schwartz))

  • Prev by Date: Re: Using \U \L in regular expressions
  • Next by Date: Re: Using \U \L in regular expressions
  • Previous by thread: Re: Using \U \L in regular expressions
  • Next by thread: Re: Using \U \L in regular expressions
  • Index(es):
    • Date
    • Thread