Skip to content

Commit

Permalink
fix: tweak regex to match the form attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
dbajpeyi committed Nov 29, 2024
1 parent 6f030e6 commit 765fbe2
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions dist/autofill-debug.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/autofill.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Form/matching-config/matching-config-source.js
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ const matchingConfiguration = {
},
signupRegex: {
match:
'sign(ing)?.?up|join|\\bregist(er|ration)|newsletter|\\bsubscri(be|ption)|contact|create|start|enroll|settings|preferences|profile|update|checkout|purchase|buy|^order|schedule|estimate|request|new.?customer|(confirm|re.?(type|enter)|repeat) password|password confirm' +
'sign(ing)?.?up|join|\\bregist(er|ration)|newsletter|\\bsubscri(be|ption)|contact|create|start|enroll|settings|preferences|profile|update|checkout|purchase|buy|^order|schedule|estimate|(?<!reset\\s)request|new.?customer|(confirm|re.?(type|enter)|repeat) password|password confirm' +
// Italian
'|iscri(viti|zione)|registra(ti|zione)|(?:nuovo|crea(?:zione)?) account|contatt(?:ac)i|sottoscriv|sottoscrizione|compra|acquist(a|o)|ordin[aeio]|richie(?:di|sta)|(?:conferma|ripeti) password|inizia|nuovo cliente|impostazioni|preferenze|profilo|aggiorna|paga' +
// German
Expand Down Expand Up @@ -416,7 +416,7 @@ const matchingConfiguration = {
},
resetPasswordLink: {
match:
"(forgot(ten)?|reset|don't remember) (your )?password|password forgotten" +
"(forgot(ten)?|reset|don't remember)[-\\s]?(your )?password|password forgotten" +
// Italian
'|password dimenticata|reset(?:ta) password|recuper[ao] password' +
// German
Expand Down
Loading

0 comments on commit 765fbe2

Please sign in to comment.