Код: Выделить всё
#include
#include
using namespace std;
int main() {
std::string s = "top.\\u2_count.*er";
std::regex regex(s);
}
Подробнее здесь: https://stackoverflow.com/questions/792 ... egex-crash
Код: Выделить всё
#include
#include
using namespace std;
int main() {
std::string s = "top.\\u2_count.*er";
std::regex regex(s);
}