Re: Satimage re_compile regex functions
Re: Satimage re_compile regex functions
- Subject: Re: Satimage re_compile regex functions
- From: Lindsey Dubb <email@hidden>
- Date: Mon, 29 Apr 2002 13:24:08 -0700
has wrote:
>
Every implementation is different. With Satimage you have to use a repeat
>
loop. Slower, and less convenient, but it does the job...
Make sure to step at least one character on each loop. Otherwise you can
get into an infinite loop if your regular expression can match 0 characters.
(This can show up if you're matching empty lines, end of lines, etc.)
It's also important to be careful with the meaning of position-based special
characters. For example, ^ can match right after the previous match, which
may not really be the beginning of a line.
9:) Lindsey Dubb email@hidden
_______________________________________________
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.