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 |
(...skipping 11 matching lines...) Expand all Loading... |
22 "company|business|organization|organisation" | 22 "company|business|organization|organisation" |
23 "|firma|firmenname" // de-DE | 23 "|firma|firmenname" // de-DE |
24 "|empresa" // es | 24 "|empresa" // es |
25 "|societe|société" // fr-FR | 25 "|societe|société" // fr-FR |
26 "|ragione.?sociale" // it-IT | 26 "|ragione.?sociale" // it-IT |
27 "|会社" // ja-JP | 27 "|会社" // ja-JP |
28 "|название.?компании" // ru | 28 "|название.?компании" // ru |
29 "|单位|公司" // zh-CN | 29 "|单位|公司" // zh-CN |
30 "|회사|직장"; // ko-KR | 30 "|회사|직장"; // ko-KR |
31 const char kAddressLine1Re[] = | 31 const char kAddressLine1Re[] = |
32 "address.*line|address1|addr1|street" | 32 "^address$|address.*line|address1|addr1|street" |
33 "|(?:shipping|billing)address$" | 33 "|(?:shipping|billing)address$" |
34 "|strasse|straße|hausnummer|housenumber" // de-DE | 34 "|strasse|straße|hausnummer|housenumber" // de-DE |
35 "|house.?name" // en-GB | 35 "|house.?name" // en-GB |
36 "|direccion|dirección" // es | 36 "|direccion|dirección" // es |
37 "|adresse" // fr-FR | 37 "|adresse" // fr-FR |
38 "|indirizzo" // it-IT | 38 "|indirizzo" // it-IT |
39 "|住所1" // ja-JP | 39 "|^住所$|住所1" // ja-JP |
40 "|morada|endereço" // pt-BR, pt-PT | 40 "|morada|endereço" // pt-BR, pt-PT |
41 "|Адрес" // ru | 41 "|Адрес" // ru |
42 "|地址" // zh-CN | 42 "|地址" // zh-CN |
43 "|주소.?1"; // ko-KR | 43 "|^주소.?$|주소.?1"; // ko-KR |
44 const char kAddressLine1LabelRe[] = | 44 const char kAddressLine1LabelRe[] = |
45 "address" | 45 "address" |
46 "|adresse" // fr-FR | 46 "|adresse" // fr-FR |
47 "|indirizzo" // it-IT | 47 "|indirizzo" // it-IT |
48 "|住所" // ja-JP | 48 "|住所" // ja-JP |
49 "|地址" // zh-CN | 49 "|地址" // zh-CN |
50 "|주소"; // ko-KR | 50 "|주소"; // ko-KR |
51 const char kAddressLine2Re[] = | 51 const char kAddressLine2Re[] = |
52 "address.*line2|address2|addr2|street|suite|unit" | 52 "address.*line2|address2|addr2|street|suite|unit" |
53 "|adresszusatz|ergänzende.?angaben" // de-DE | 53 "|adresszusatz|ergänzende.?angaben" // de-DE |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 "prefix|exchange" | 291 "prefix|exchange" |
292 "|preselection" // fr-FR | 292 "|preselection" // fr-FR |
293 "|ddd"; // pt-BR, pt-PT | 293 "|ddd"; // pt-BR, pt-PT |
294 const char kPhoneSuffixRe[] = | 294 const char kPhoneSuffixRe[] = |
295 "suffix"; | 295 "suffix"; |
296 const char kPhoneExtensionRe[] = | 296 const char kPhoneExtensionRe[] = |
297 "\\bext|ext\\b|extension" | 297 "\\bext|ext\\b|extension" |
298 "|ramal"; // pt-BR, pt-PT | 298 "|ramal"; // pt-BR, pt-PT |
299 | 299 |
300 } // namespace autofill | 300 } // namespace autofill |
OLD | NEW |