Why does not regex_match throw a error when my regex is invalid?

后端 未结 0 1887
挽巷
挽巷 2021-01-19 02:01

I wrote a code like this regex_match("ab","a**b") and it returns true. As we know, "a**b" is a invalid regex, isn\'t it?--At least

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