| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file contains UTF8 strings that we want as char arrays. To avoid | 5 // This file contains UTF8 strings that we want as char arrays. To avoid |
| 6 // different compilers, we use a script to convert the UTF8 strings into | 6 // different compilers, we use a script to convert the UTF8 strings into |
| 7 // numeric literals (\x##). | 7 // numeric literals (\x##). |
| 8 | 8 |
| 9 #include "components/autofill/core/browser/autofill_regex_constants.h" | 9 #include "components/autofill/core/browser/autofill_regex_constants.h" |
| 10 | 10 |
| 11 namespace autofill { | 11 namespace autofill { |
| 12 | 12 |
| 13 ///////////////////////////////////////////////////////////////////////////// | 13 ///////////////////////////////////////////////////////////////////////////// |
| 14 // address_field.cc | 14 // address_field.cc |
| 15 ///////////////////////////////////////////////////////////////////////////// | 15 ///////////////////////////////////////////////////////////////////////////// |
| 16 const char kAttentionIgnoredRe[] = "attention|attn"; | 16 const char kAttentionIgnoredRe[] = "attention|attn"; |
| 17 const char kRegionIgnoredRe[] = | 17 const char kRegionIgnoredRe[] = |
| 18 "province|region|other" | 18 "province|region|other" |
| 19 "|provincia" // es | 19 "|provincia" // es |
| 20 "|bairro|suburb"; // pt-BR, pt-PT | 20 "|bairro|suburb"; // pt-BR, pt-PT |
| 21 const char kAddressNameIgnoredRe[] = "address.*nickname|address.*label"; |
| 21 const char kCompanyRe[] = | 22 const char kCompanyRe[] = |
| 22 "company|business|organization|organisation" | 23 "company|business|organization|organisation" |
| 23 "|firma|firmenname" // de-DE | 24 "|firma|firmenname" // de-DE |
| 24 "|empresa" // es | 25 "|empresa" // es |
| 25 "|societe|société" // fr-FR | 26 "|societe|société" // fr-FR |
| 26 "|ragione.?sociale" // it-IT | 27 "|ragione.?sociale" // it-IT |
| 27 "|会社" // ja-JP | 28 "|会社" // ja-JP |
| 28 "|название.?компании" // ru | 29 "|название.?компании" // ru |
| 29 "|单位|公司" // zh-CN | 30 "|单位|公司" // zh-CN |
| 30 "|회사|직장"; // ko-KR | 31 "|회사|직장"; // ko-KR |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 "prefix|exchange" | 293 "prefix|exchange" |
| 293 "|preselection" // fr-FR | 294 "|preselection" // fr-FR |
| 294 "|ddd"; // pt-BR, pt-PT | 295 "|ddd"; // pt-BR, pt-PT |
| 295 const char kPhoneSuffixRe[] = | 296 const char kPhoneSuffixRe[] = |
| 296 "suffix"; | 297 "suffix"; |
| 297 const char kPhoneExtensionRe[] = | 298 const char kPhoneExtensionRe[] = |
| 298 "\\bext|ext\\b|extension" | 299 "\\bext|ext\\b|extension" |
| 299 "|ramal"; // pt-BR, pt-PT | 300 "|ramal"; // pt-BR, pt-PT |
| 300 | 301 |
| 301 } // namespace autofill | 302 } // namespace autofill |
| OLD | NEW |