On Dec 12, 2004, at 4:19 PM, Alex Tweedly wrote:
Can't you just do matchText(char currOffset to -1 of theString, tRegEx, tVars)
Yes, but that doesn't avoid copying of the "rest" part in repeated matching.
Or, if that won't work,
put "." & currOffset & tRegEx into tempRegEx
matchText(theString, tempRegEx, tVars)
(so the first match is the .N where N is the offset ) ?
(Ugly, but I've seen something like this used before in Perl, where ugliness seemed natural :-)
If this is fast, then I like this kind of approach.
Dar
****************************************
Dar Scott Consulting
http://www.swcp.com/dsc/
Programming Services
****************************************_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
