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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 "|ciudad|provincia|localidad|poblacion" // es | 103 "|ciudad|provincia|localidad|poblacion" // es |
104 "|ville|commune" // fr-FR | 104 "|ville|commune" // fr-FR |
105 "|localita" // it-IT | 105 "|localita" // it-IT |
106 "|市区町村" // ja-JP | 106 "|市区町村" // ja-JP |
107 "|cidade" // pt-BR, pt-PT | 107 "|cidade" // pt-BR, pt-PT |
108 "|Город" // ru | 108 "|Город" // ru |
109 "|市" // zh-CN | 109 "|市" // zh-CN |
110 "|分區" // zh-TW | 110 "|分區" // zh-TW |
111 "|^시[^도·・]|시[·・]?군[·・]?구"; // ko-KR | 111 "|^시[^도·・]|시[·・]?군[·・]?구"; // ko-KR |
112 const char kStateRe[] = | 112 const char kStateRe[] = |
113 "(?<!united )state|county|region|province" | 113 "state|county|region|province" |
114 "|land" // de-DE | 114 "|land" // de-DE |
115 "|county|principality" // en-UK | 115 "|county|principality" // en-UK |
116 "|都道府県" // ja-JP | 116 "|都道府県" // ja-JP |
117 "|estado|provincia" // pt-BR, pt-PT | 117 "|estado|provincia" // pt-BR, pt-PT |
118 "|область" // ru | 118 "|область" // ru |
119 "|省" // zh-CN | 119 "|省" // zh-CN |
120 "|地區" // zh-TW | 120 "|地區" // zh-TW |
121 "|^시[·・]?도"; // ko-KR | 121 "|^시[·・]?도"; // ko-KR |
122 | 122 |
123 ///////////////////////////////////////////////////////////////////////////// | 123 ///////////////////////////////////////////////////////////////////////////// |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 "prefix|exchange" | 290 "prefix|exchange" |
291 "|preselection" // fr-FR | 291 "|preselection" // fr-FR |
292 "|ddd"; // pt-BR, pt-PT | 292 "|ddd"; // pt-BR, pt-PT |
293 const char kPhoneSuffixRe[] = | 293 const char kPhoneSuffixRe[] = |
294 "suffix"; | 294 "suffix"; |
295 const char kPhoneExtensionRe[] = | 295 const char kPhoneExtensionRe[] = |
296 "\\bext|ext\\b|extension" | 296 "\\bext|ext\\b|extension" |
297 "|ramal"; // pt-BR, pt-PT | 297 "|ramal"; // pt-BR, pt-PT |
298 | 298 |
299 } // namespace autofill | 299 } // namespace autofill |
OLD | NEW |