commit 6eb8a7743b703bd6c2196c96e46aa0502fecd853
parent 74e1e36e1b8399085da339de6fea9338c34588a3
Author: Dimi <dlee@mozilla.com>
Date: Tue, 28 Oct 2025 08:09:51 +0000
Bug 1936595 - Add a negative match for `phonetic` in the phone number matching heuristic. r=NeilDeakin,credential-management-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D266798
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/toolkit/components/formautofill/shared/HeuristicsRegExp.sys.mjs b/toolkit/components/formautofill/shared/HeuristicsRegExp.sys.mjs
@@ -381,6 +381,7 @@ export const HeuristicsRegExp = {
// ==== Telephone ====
tel:
+ "?<neg>phonetic" +
"phone|mobile|contact.?number" +
"|telefonnummer" + // de-DE
"|telefono|teléfono" + // es