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 d0378dffab7f7d6d3979a1c74f7ecc4a1b2b9e86..513c1c0f1ea67884f7a2de391c6a0e8ccf136e88 100644 |
--- a/components/autofill/core/browser/autofill_regex_constants.cc.utf8 |
+++ b/components/autofill/core/browser/autofill_regex_constants.cc.utf8 |
@@ -131,7 +131,7 @@ const char kNameOnCardRe[] = |
const char kNameOnCardContextualRe[] = |
"name"; |
const char kCardNumberRe[] = |
- "card.?number|card.?#|card.?no|cc.?num|acct.?num" |
+ "card.?number.?\\d*|card.?#|card.?no.?\\d*|acct.?num.?\\d*|\\w*part.?\\d{1}|\\w*q.?\\d{1}|cc.?num.?\\d*" |
Ilya Sherman
2014/08/07 20:57:25
Why did you add ".?\\d*" to these regexes? It sho
Pritam Nikam
2014/08/08 14:14:34
Done.
Restored the original regular expression.
|
"|nummer" // de-DE |
"|credito|numero|número" // es |
"|numéro" // fr-FR |