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

Unified Diff: chrome/browser/autofill/autofill_regex_constants.cc.utf8

Issue 7981047: Allow word separators in a few more Autofill regexes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 3 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/autofill/form_structure.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_regex_constants.cc.utf8
diff --git a/chrome/browser/autofill/autofill_regex_constants.cc.utf8 b/chrome/browser/autofill/autofill_regex_constants.cc.utf8
index cba240a135dfc96ae3ac944a4a033ae0abd592a7..80f9cd7197508135a81f74741e2e1467ab962b74 100644
--- a/chrome/browser/autofill/autofill_regex_constants.cc.utf8
+++ b/chrome/browser/autofill/autofill_regex_constants.cc.utf8
@@ -122,7 +122,7 @@ const char kShippingDesignatorRe[] = "ship";
// credit_card_field.cc
/////////////////////////////////////////////////////////////////////////////
const char kNameOnCardRe[] =
- "card.?holder|name.?on.?card|ccname|ccfullname|owner"
+ "card.?holder|name.?on.?card|cc.?name|cc.?full.?name|owner"
"|karteninhaber" // de-DE
"|nombre.*tarjeta" // es
"|nom.*carte" // fr-FR
@@ -134,7 +134,7 @@ const char kNameOnCardRe[] =
const char kNameOnCardContextualRe[] =
"name";
const char kCardNumberRe[] =
- "card.?number|card.?#|card.?no|ccnum|acctnum"
+ "card.?number|card.?#|card.?no|cc.?num|acct.?num"
"|nummer" // de-DE
"|credito|numero|número" // es
"|numéro" // fr-FR
« no previous file with comments | « no previous file | chrome/browser/autofill/form_structure.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698