backreferences in PCRE?

Ken Ray kray at
Thu Nov 13 16:51:50 CST 2003

> In transcript I thought it should be :
> replaceText(pStr, "([^\\])"&quote, "$1\"&quote)
> Which works *except* for the $1 is used literally instead of as a 
> backreference.

That's because only the second parameter of replaceText() is a match
expression; the third param is a simple string.

Ken Ray
Sons of Thunder Software
Email: kray at
Web Site: 

More information about the use-livecode mailing list