Re: Satimage re_compile regex functions
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.