#include "components/autofill/core/browser/form_parsing/regex_patterns.h"
#include "base/check.h"
#include "base/notreached.h"
#include "components/autofill/core/browser/form_parsing/regex_patterns_inl.h"
#include "components/autofill/core/browser/heuristic_source.h"
#include "components/autofill/core/common/autofill_features.h"
namespace autofill {
namespace {
base::span<const MatchPatternRef> GetMatchPatterns(
std::string_view name,
std::string_view language_code,
PatternSource pattern_source) { … }
}
std::optional<PatternSource> GetActivePatternSource() { … }
base::span<const MatchPatternRef> GetMatchPatterns(
std::string_view name,
std::optional<LanguageCode> language_code,
PatternSource pattern_source) { … }
base::span<const MatchPatternRef> GetMatchPatterns(
FieldType type,
std::optional<LanguageCode> language_code,
PatternSource pattern_source) { … }
bool IsSupportedLanguageCode(LanguageCode language_code) { … }
MatchingPattern MatchPatternRef::operator*() const { … }
bool AreMatchingPatternsEqual(PatternSource a,
PatternSource b,
LanguageCode language_code) { … }
}