전체 텍스트 결과:
- MS 정규식 (좀 다름)
- 은 것은, // http://abcde.xyz.xyz\ 까지만 // std::string _photoUrl(_sampleStr); std::cmatch _reg_result;... ult.size() != 0 ) { std::cout << "found string: " << _reg_result[0] << std::endl; } ... lt.size(); ++ i ) { std::cout << "found string: " << _reg_result[i] << std::endl; } } return 0; } </code> 결과 <code> found string: thm":"http://abcde.xyz.xyz" found string: thm":"
- 정규식 규칙
- n ===== | g | "Global" -- find all matches in the string rather than just the first | | i | "case