What did you try and what happened?
if (text[j] == '\\' || text[j] == '$' )
#ifndef NO_CXX11_REGEX
if (flags & SCFIND_CXX11REGEX)
//use c++ regex instead
:/ ?
Allowing a second syntax will cause unexpected behaviour in current applications. ‘$1’ and similar are used in various programming languages causing extra substitutions.
If you want a different replacement syntax then implement it in your application. The tagged strings are available with http://www.scintilla.org/ScintillaDoc.html#SCI_GETTAG
Neil