• 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: Tim Mansour <email@hidden>
  • Date: Fri, 14 Aug 2009 07:23:18 +1000

2009/8/13 Emmanuel LEVY <email@hidden>:
> Never heard of such a thing but would be very interested if you find an
> answer!

As Shane points out Emmanuel, Perl allows it and I suspect others do
to. I was hoping I could do this:

change "([A-Z])([A-Z]+)" into "\\1\\L\\2" in "HELLO" regexp true syntax "PERL"
--> "Hello"

Which would save me a good deal of workaround scripting.

--
Tim Mansour <email@hidden>

"The future is no more uncertain than the present." -- Walt Whitman
 _______________________________________________
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

  • Follow-Ups:
    • Re: Using \U \L in regular expressions
      • From: Emmanuel LEVY <email@hidden>
    • Re: Using \U \L in regular expressions
      • From: "Mark J. Reed" <email@hidden>
    • Re: Using \U \L in regular expressions
      • From: Skeeve <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>)

  • Prev by Date: Re: Mount Point to Alias
  • 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