I am having problems with C++0x regex when the string Im matching is a multiline string. Here is the code snippet Im trying to use:
std::smatch regMatch; std
You should use regex_search instead of regex_match.
regex_search
regex_match
By the way, why not use (.*) instead of (.*?)?
(.*)
(.*?)