| 62 | } |
| 63 | |
| 64 | FindAllRegexMatch::FindAllRegexMatch(const std::regex& regexImpl, const std::string& expression) { |
| 65 | std::sregex_token_iterator i( |
| 66 | expression.begin(), expression.end(), regexImpl, 1, std::regex_constants::match_continuous |
| 67 | ); |
| 68 | const std::sregex_token_iterator end; |
| 69 | for (; i != end; ++i) { |
| 70 | RegexSubmatch s = {*i, -1}; |
| 71 | submatches.push_back(s); |
| 72 | } |
| 73 | regexMatched = !submatches.empty(); |
| 74 | } |
| 75 | |
| 76 | } |
| 77 | } |
nothing calls this directly
no outgoing calls
no test coverage detected