一夜之间所有代码都跑不了了,这是发生了什么吗
#include <string>
#include <regex>
int main() {
std::regex re=std::regex ("keyword");
std::string str=std::string("keyword-test");
std::regex_search(str,re);
return 0;
}
terminate called after throwing an instance of 'std::regex_error' what(): Unexpected character in brace expression.
Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
1
ysc3839 2021-06-15 00:39:12 +08:00
试试重启,重装?
|