• 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: Strip characters without recursive loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strip characters without recursive loop


  • Subject: Re: Strip characters without recursive loop
  • From: Emmanuel <email@hidden>
  • Date: Wed, 20 Aug 2003 21:38:24 +0200

At 3:01 PM +0200 20/08/03, Emmanuel wrote:

> >set s to "1234-56abc"
>>do shell script "perl -e '
>>$_= q~" & s & "~ ; s~[^\\d]~~g ; print '"
>
>This makes an error on my machine (I am testing with a piece of text of 31,000 characters).

I tried again with a small string, it works, so it's just some size limitation.

Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Strip characters without recursive loop (From: Duncan Cowan <email@hidden>)
 >Re: Strip characters without recursive loop (From: John Delacour <email@hidden>)
 >Re: Strip characters without recursive loop (From: Emmanuel <email@hidden>)

  • Prev by Date: RE: Acrobat Extraction of Pages
  • Next by Date: Coerce time
  • Previous by thread: Re: Strip characters without recursive loop
  • Next by thread: Re: Strip characters without recursive loop
  • Index(es):
    • Date
    • Thread