• 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
strange regexp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strange regexp


  • Subject: strange regexp
  • From: Robert Poland <email@hidden>
  • Date: Mon, 7 Sep 2009 15:42:24 -0600

Hi,

When I run this I get
set current_name to "9:01 pm.."
change "[a-z ]" into "" in current_name with regexp
set a to current_name as string
-->"9:01 pm.."

But when I run this I get
set current_name to "9:01 pm.."
change "[a-z ]" into "" in current_name with regexp
-->"9:01.."

What am I doing wrong?

OS 10.6.

 
Bob Poland - Fort Collins, CO



 _______________________________________________
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: strange regexp
      • From: Tim Mansour <email@hidden>
    • Re: strange regexp
      • From: Tom Robinson <email@hidden>
  • Prev by Date: Re: dates and time
  • Next by Date: Re: date/Snow Leopard changed
  • Previous by thread: Re: Paste Text Into Mail
  • Next by thread: Re: strange regexp
  • Index(es):
    • Date
    • Thread