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";
相關文章
相關標籤/搜索