| 1713 | std::unique_ptr<RE2> regex_match_; |
| 1714 | |
| 1715 | static Result<FindSubstringRegex> Make(const MatchSubstringOptions& options, |
| 1716 | bool is_utf8 = true, bool literal = false) { |
| 1717 | auto matcher = FindSubstringRegex(options, is_utf8, literal); |
| 1718 | RETURN_NOT_OK(RegexStatus(*matcher.regex_match_)); |
| 1719 | return matcher; |
| 1720 | } |
| 1721 | |
| 1722 | explicit FindSubstringRegex(const MatchSubstringOptions& options, bool is_utf8 = true, |
| 1723 | bool literal = false) { |
nothing calls this directly
no test coverage detected