When replacing text with SCI_REPLACEINTARGETRE the format specifiers of the replace text are not fully respected according to the c++11 regex specs.
From what I found is that the replacement is done with a custom function instead of using the proper std::regex_replace() function.
For example, for c++ regex the group replacements are $0..$99 and not \0..\9, also $&, $` and $´ are also valid formatting sequences. See:
maybe Scintilla could use the format function instead of its custom one?
Stefan