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

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

Issue 1670383002: [Autofill] Fix Walgreens' address autofill. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « chrome/test/data/autofill/heuristics/output/28_checkout_walgreens.com.out ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/autofill_regex_constants.cc
diff --git a/components/autofill/core/browser/autofill_regex_constants.cc b/components/autofill/core/browser/autofill_regex_constants.cc
index 38f8dbdcd76db90935563b2dc82c4d6784f38f4f..4d7236c3026108b91a011858b09f618ab08302f4 100644
--- a/components/autofill/core/browser/autofill_regex_constants.cc
+++ b/components/autofill/core/browser/autofill_regex_constants.cc
@@ -29,18 +29,18 @@ const char kCompanyRe[] =
"|单位|公司" // zh-CN
"|회사|직장"; // ko-KR
const char kAddressLine1Re[] =
- "address.*line|address1|addr1|street"
+ "^address$|address.*line|address1|addr1|street"
"|(?:shipping|billing)address$"
"|strasse|straße|hausnummer|housenumber" // de-DE
"|house.?name" // en-GB
"|direccion|dirección" // es
"|adresse" // fr-FR
"|indirizzo" // it-IT
- "|住所1" // ja-JP
+ "|^住所$|住所1" // ja-JP
"|morada|endereço" // pt-BR, pt-PT
"|Адрес" // ru
"|地址" // zh-CN
- "|주소.?1"; // ko-KR
+ "|^주소.?$|주소.?1"; // ko-KR
const char kAddressLine1LabelRe[] =
"address"
"|adresse" // fr-FR
« no previous file with comments | « chrome/test/data/autofill/heuristics/output/28_checkout_walgreens.com.out ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698