c++正则简单实例

#include <iostream> #include <string> #include <regex> using namespace std; void testRegx() { regex regx("h(.+?)llo",regex::icase); string str = "hello world!hollo world....hallo1 heello2";
相关文章
相关标签/搜索