Regex (MatchText) speed

Mark Brownell gizmotron at earthlink.net
Thu Jun 24 09:53:56 EDT 2004


On Wednesday, June 23, 2004, at 10:39  PM, Troy Rollins wrote:

> Thanks Mark. I'll look at this.
>
> And, while I don't doubt this has provided good results, may I ask why 
> you use it instead of a matchText? You didn't indicate if you had done 
> some form of speed test, or in fact ever compared the two 
> alternatives. I'm just trying to get a sense of the value of matchText 
> in terms of speed, or if it is a convenience for those more 
> comfortable with regular expression syntax (which I can use... but I 
> FIGHT with them every time.)
> --
> Troy

I did do speed tests and my pull-parser was a little faster. It's also 
easier to use for me. I can substitute variables for chunks instead of 
those more hard-coded forms.
--put getElement(spot1, spot2, myText) into theElement
Mark



More information about the use-livecode mailing list