hiliting all instances of a string in a field

Dar Scott dsc at swcp.com
Wed Mar 3 13:27:10 EST 2004


On Wednesday, March 3, 2004, at 11:05 AM, Trevor DeVore wrote:

> I think matchChunk is the way to go.  I just need to figure out the 
> regular expression for it and regular expressions aren't my strong 
> suit.  I think the regular expression would have to find the string 
> and then look behind for a "<a" with no "</a>" between it and the 
> string.  Does this sound right?  Anyone know how to write that?

Or skip said elements or chars before matching string.  Use a 
non-gathering group and (because of the bug) a range on the repeat.  I 
know that is cryptic and short.  Ask if I need to elaborate.

Dar



More information about the use-livecode mailing list