• 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: Skeeve <email@hidden>
  • Date: Thu, 13 Aug 2009 23:33:10 +0200

Tim Mansour schrieb:
Which would save me a good deal of workaround scripting.
I'd do it without regexp:

capitalize("HELLO")

to capitalize(someText)
return do shell script "perl -e 'print ucfirst lc shift' " & quoted form of someText
end capitalize


_______________________________________________
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: Shane Stanley <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>)

  • Prev by Date: Re: Using \U \L in regular expressions
  • Next by Date: Re: Running from script menu - the invisibility
  • Previous by thread: Re: Using \U \L in regular expressions
  • Next by thread: Re: Using \U \L in regular expressions
  • Index(es):
    • Date
    • Thread