chromium/components/autofill/core/common/autofill_regexes.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/autofill/core/common/autofill_regexes.h"

#include <tuple>

#include "base/check.h"
#include "base/i18n/unicodestring.h"
#include "base/memory/ptr_util.h"
#include "base/not_fatal_until.h"

namespace {

// Maximum length of the string to match to avoid causing an icu::RegexMatcher
// stack overflow. (crbug.com/1198219)
constexpr int kMaxStringLength =;

}  // namespace

namespace autofill {

std::unique_ptr<const icu::RegexPattern> CompileRegex(
    std::u16string_view regex) {}

bool MatchesRegex(std::u16string_view input,
                  const icu::RegexPattern& regex_pattern,
                  std::vector<std::u16string>* groups) {}

AutofillRegexCache::AutofillRegexCache(ThreadSafe thread_safe)
    :{}

AutofillRegexCache::~AutofillRegexCache() {}

const icu::RegexPattern* AutofillRegexCache::GetRegexPattern(
    std::u16string_view regex) {}

}  // namespace autofill