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

Unified Diff: components/autofill/core/browser/autofill_regex_constants.cc.utf8

Issue 1012363002: Autofill: Recognize month/year selects when searching for credit cards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix out of bounds indexing Created 5 years, 9 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
Index: components/autofill/core/browser/autofill_regex_constants.cc.utf8
diff --git a/components/autofill/core/browser/autofill_regex_constants.cc.utf8 b/components/autofill/core/browser/autofill_regex_constants.cc.utf8
index 5ed5c939707cc019f40d620f0f3308a02ed01f3d..7339f8a26b12d99913fda35597260c37bc40d385 100644
--- a/components/autofill/core/browser/autofill_regex_constants.cc.utf8
+++ b/components/autofill/core/browser/autofill_regex_constants.cc.utf8
@@ -147,7 +147,7 @@ const char kCardNumberRe[] =
"|카드"; // ko-KR
const char kCardCvcRe[] =
"verification|card identification|security code|card code"
- "|cvn|cvv|cvc|csc|cvd|cid"
+ "|cvn|cvv|cvc|csc|cvd|cid|ccv"
"|\\bcid\\b";
const char kCardTypeRe[] =
"(card|cc|payment).?type|payment.?method|card.*brand";

Powered by Google App Engine
This is Rietveld 408576698