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 08:20:08 -0400
Ok, how exactly does all that fit together? The result doesn't seem
to follow from the English interpretation of the keywords...
On 8/14/09, Emmanuel LEVY <email@hidden> wrote:
> On Aug 13, 2009, at 11:23 PM, Tim Mansour wrote:
>> I was hoping I could do this:
>>
>> change "([A-Z])([A-Z]+)" into "\\1\\L\\2" in "HELLO" regexp true
>> syntax "PERL"
>> --> "Hello"
>
> Probably not the solution you dreamt of, but maybe it's still better
> than an other workaround:
>
> do script (find text "([A-Z])([A-Z]+)" using "\"\\1\" & lowercase \"\
> \2\"" in "HELLO" with regexp and string result)
> -- "Hello"
>
> Emmanuel
> _______________________________________________
> 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
>
--
Sent from my mobile device
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