In the last two hours I've tried to understand why the line of code from below
std::regex matchPattern{R"(?<=\@)(.*?)(?=\=)"};
throws Microsoft C++ exception: std::regex_error at memory location ....
I've tested the regular expresion with online tools and notepad++ and everything works just fine. When I'm trying to use it in my c++ app I get the runtime error from above on initialization. I am using c++14
Thanks in advance for your help.