replace, using regular expressions
Ken Ray
kray at sonsothunder.com
Mon Sep 12 13:14:29 EDT 2005
On 9/12/05 8:41 AM, "peter lemay" <plemay at readnaturally.com> wrote:
> The first example uses replaceText and works as a 'replace all'. But the
> 3rd parameter is a literal. When I try this, the $1 and $2 do not
> represent the (parenthesis-delimited) groups the way normal regex does.
I don't believe replaceText works with extracted groups. I'm afraid you'll
have to repeat through a loop with matchText. You could log this as an
enhancement in Bugzilla if you like and I'll vote for it.. :-)
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
More information about the use-livecode
mailing list