On Nov 13, 2003, at 2:15 PM, Dar Scott wrote:


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

So tinker with this:

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

OK this works: replaceText(pStr, "(?<!\\)"&quote, "\"&quote)


Thanks Dar! I haven't used assertions much in regex. I'll keep an eye on the bug you mentioned. Although these are just small text chunks so I don't think it'll effect me.


Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | <http://mindlube.com>


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco

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

Reply via email to