blob: ac25b9a89dc6448eccd54b3738a949880c0578b5 [file] [log] [blame] [raw]
// compile flags:
// [x86] cl /FA /EHsc /c vc-regex-example.cpp /Favc-regex.asm
// then, delete all non-regexTest lines
#include <string>
#include <regex>
void regexTest() {
std::string s = "Some people, when confronted with a problem, think "
"\"I know, I'll use regular expressions.\" "
"Now they have two problems.";
auto self_regex = std::regex("REGULAR EXPRESSIONS",
std::regex_constants::ECMAScript | std::regex_constants::icase);
}