| 1873 | MakeRE2Options(is_utf8, options.ignore_case, literal))) {} |
| 1874 | |
| 1875 | static Result<CountSubstringRegex> Make(const MatchSubstringOptions& options, |
| 1876 | bool is_utf8 = true, bool literal = false) { |
| 1877 | CountSubstringRegex counter(options, is_utf8, literal); |
| 1878 | RETURN_NOT_OK(RegexStatus(*counter.regex_match_)); |
| 1879 | return counter; |
| 1880 | } |
| 1881 | |
| 1882 | template <typename OutValue, typename... Ignored> |
| 1883 | OutValue Call(KernelContext*, std::string_view val, Status*) const { |
nothing calls this directly
no test coverage detected