OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_REGEXES_H_ |
| 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_REGEXES_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "base/string16.h" |
| 10 |
| 11 // Parsing utilities. |
| 12 namespace autofill { |
| 13 |
| 14 // Case-insensitive regular expression matching. |
| 15 // Returns true if |pattern| is found in |input|. |
| 16 bool MatchesPattern(const string16& input, const string16& pattern); |
| 17 |
| 18 } // namespace autofill |
| 19 |
| 20 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_REGEXES_H_ |
OLD | NEW |