10 Nov
2004
10 Nov
'04
1:40 p.m.
I am wrapping some classes in our existing application, which have the interface that a regular expression will be replaced exactly with the given string, so I have no influence to the input and I don't know what things are in this string, what was given to me. So my hope was, that I can force this behaviour with some flags, but what I see from your answer it will not exist. So can you give me a hint where the best location is, where I can implement "format_literal" for my personal boost library? I need this functionality!
Why not use regex_iterator to enumerate the matches, and replace them with your string? John.