• 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: Satimage re_compile regex functions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Satimage re_compile regex functions


  • Subject: Re: Satimage re_compile regex functions
  • From: Luc Naets <email@hidden>
  • Date: Sun, 28 Apr 2002 09:30:31 +0000

Thanks has for the first lesson.

It seems that the re-compile only works in smile and not for instance in
script debugger.

so her comes my second question:

I have a lot of lines separated by a return from which I have to extract
only the lines that satisfy the regular expression

for instance

set mText to ("A22 24" & return & "A2 45" & return & "B34 44" & return &
"A34 67")

find text "(^A[[:digit:]]+ [[:digit:]]+)" in mText using "\\1" with regexp


it always returns only the first occurence of the xpression. When you did it
met Leonard's REMatch it returned all the matching lines.

Do you know how to do this.

I'm running on osX, that's why I have to find a solution for Leonard's
regex-osax.

Although many thanks for that overview, something you can't find in the osX
version of Smile, it seems dimmed.

--

Luc Naets

PrePress XTensions
Antwerpsestraat 108-116
2640 Mortsel
Tel 03 448 21 51 - Fax 03 448 21 50
_______________________________________________
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.

  • Follow-Ups:
    • Re: Satimage re_compile regex functions
      • From: Emmanuel <email@hidden>
    • Re: Satimage re_compile regex functions
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Set BOUNDS to FileMaker Pro
  • Next by Date: RE: ATM 4.6.2 Mac Type 2 and Type 3 Errors,Crashing,Stalling,Quiting at random,a fix
  • Previous by thread: Re: Satimage re_compile regex functions
  • Next by thread: Re: Satimage re_compile regex functions
  • Index(es):
    • Date
    • Thread