std::regex with characters \,{,} - How to escape

后端 未结 0 922
耶瑟儿~
耶瑟儿~ 2021-01-12 05:19

I am doing something like this

std::regex regex ("\\|{|}");

The above throws an exception

regex_error(error_badrepea         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题