Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(917)

Side by Side Diff: chrome/browser/autofill/autofill_regex_constants.cc.utf8

Issue 8745018: Autofill: Remove a regular expression for fax which is no longer used. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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 "chrome/browser/autofill/autofill_regex_constants.h" 9 #include "chrome/browser/autofill/autofill_regex_constants.h"
10 10
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 "|телефон" // ru 267 "|телефон" // ru
268 "|电话" // zh-CN 268 "|电话" // zh-CN
269 "|(전화|핸드폰|휴대폰|휴대전화)(.?번호)?"; // ko-KR 269 "|(전화|핸드폰|휴대폰|휴대전화)(.?번호)?"; // ko-KR
270 const char kCountryCodeRe[] = 270 const char kCountryCodeRe[] =
271 "country.*code|ccode|_cc"; 271 "country.*code|ccode|_cc";
272 const char kAreaCodeNotextRe[] = 272 const char kAreaCodeNotextRe[] =
273 "^\\($"; 273 "^\\($";
274 const char kAreaCodeRe[] = 274 const char kAreaCodeRe[] =
275 "area.*code|acode|area" 275 "area.*code|acode|area"
276 "|지역.?번호"; // ko-KR 276 "|지역.?번호"; // ko-KR
277 const char kFaxRe[] =
278 "fax"
279 "|télécopie|telecopie" // fr-FR
280 "|ファックス" // ja-JP
281 "|факс" // ru
282 "|传真" // zh-CN
283 "|傳真" // zh-TW
284 "|팩스(.?번호)?"; // ko-KR
285 const char kPhonePrefixSeparatorRe[] = 277 const char kPhonePrefixSeparatorRe[] =
286 "^-$|^\\)$"; 278 "^-$|^\\)$";
287 const char kPhoneSuffixSeparatorRe[] = 279 const char kPhoneSuffixSeparatorRe[] =
288 "^-$"; 280 "^-$";
289 const char kPhonePrefixRe[] = 281 const char kPhonePrefixRe[] =
290 "prefix|exchange" 282 "prefix|exchange"
291 "|preselection" // fr-FR 283 "|preselection" // fr-FR
292 "|ddd"; // pt-BR, pt-PT 284 "|ddd"; // pt-BR, pt-PT
293 const char kPhoneSuffixRe[] = 285 const char kPhoneSuffixRe[] =
294 "suffix"; 286 "suffix";
295 const char kPhoneExtensionRe[] = 287 const char kPhoneExtensionRe[] =
296 "\\bext|ext\\b|extension" 288 "\\bext|ext\\b|extension"
297 "|ramal"; // pt-BR, pt-PT 289 "|ramal"; // pt-BR, pt-PT
298 290
299 } // namespace autofill 291 } // namespace autofill
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698