13 Oct
2015
13 Oct
'15
4:10 p.m.
On 13/10/2015 14:20, Dominique Devienne wrote:
Is there no equivalent to http://doc.qt.io/qt-4.8/qregexp.html#escape in Boost.Regex, i.e. a way to escape all special characters so they match "literally"?
No, can you use Perl's \Q \E construct for the same effect?
There are manual solutions, like http://stackoverflow.com/questions/1252992/how-to-escape-a-string-for-use-in..., but shouldn't that be part of the API?
Does C++11's std::regex, based on boost::regex, include this API? Thanks, --DD
No. John.