| 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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 "|cognome" // it-IT | 260 "|cognome" // it-IT |
| 261 "|姓" // ja-JP | 261 "|姓" // ja-JP |
| 262 "|morada|apelidos|surename|sobrenome" // pt-BR, pt-PT | 262 "|morada|apelidos|surename|sobrenome" // pt-BR, pt-PT |
| 263 "|Фамилия" // ru | 263 "|Фамилия" // ru |
| 264 "|성[^명]?"; // ko-KR | 264 "|성[^명]?"; // ko-KR |
| 265 | 265 |
| 266 ///////////////////////////////////////////////////////////////////////////// | 266 ///////////////////////////////////////////////////////////////////////////// |
| 267 // phone_field.cc | 267 // phone_field.cc |
| 268 ///////////////////////////////////////////////////////////////////////////// | 268 ///////////////////////////////////////////////////////////////////////////// |
| 269 const char kPhoneRe[] = | 269 const char kPhoneRe[] = |
| 270 "phone|mobile" | 270 "phone|mobile|contact.?number" |
| 271 "|telefonnummer" // de-DE | 271 "|telefonnummer" // de-DE |
| 272 "|telefono|teléfono" // es | 272 "|telefono|teléfono" // es |
| 273 "|telfixe" // fr-FR | 273 "|telfixe" // fr-FR |
| 274 "|電話" // ja-JP | 274 "|電話" // ja-JP |
| 275 "|telefone|telemovel" // pt-BR, pt-PT | 275 "|telefone|telemovel" // pt-BR, pt-PT |
| 276 "|телефон" // ru | 276 "|телефон" // ru |
| 277 "|电话" // zh-CN | 277 "|电话" // zh-CN |
| 278 "|(?:전화|핸드폰|휴대폰|휴대전화)(?:.?번호)?"; // ko-KR | 278 "|(?:전화|핸드폰|휴대폰|휴대전화)(?:.?번호)?"; // ko-KR |
| 279 const char kCountryCodeRe[] = | 279 const char kCountryCodeRe[] = |
| 280 "country.*code|ccode|_cc"; | 280 "country.*code|ccode|_cc"; |
| 281 const char kAreaCodeNotextRe[] = | 281 const char kAreaCodeNotextRe[] = |
| 282 "^\\($"; | 282 "^\\($"; |
| 283 const char kAreaCodeRe[] = | 283 const char kAreaCodeRe[] = |
| 284 "area.*code|acode|area" | 284 "area.*code|acode|area" |
| 285 "|지역.?번호"; // ko-KR | 285 "|지역.?번호"; // ko-KR |
| 286 const char kPhonePrefixSeparatorRe[] = | 286 const char kPhonePrefixSeparatorRe[] = |
| 287 "^-$|^\\)$"; | 287 "^-$|^\\)$"; |
| 288 const char kPhoneSuffixSeparatorRe[] = | 288 const char kPhoneSuffixSeparatorRe[] = |
| 289 "^-$"; | 289 "^-$"; |
| 290 const char kPhonePrefixRe[] = | 290 const char kPhonePrefixRe[] = |
| 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 |