On Thursday, November 13, 2003, at 02:08 PM, Dar Scott wrote:


I can't remember- are any of Rev's REGEX functions capable of doing backreferences?

You might consider the (?<= ) "lookbehind" assertion.


Don't forget the start of the string, too.

Yikes. I mean the negative assertion (?<! ). This should also take care of the start.


So tinker with this:

replaceText(pStr, "(?<!\\)\\"&quote, "\"&quote)

Dar Scott


_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to