Skip to content

Commit e6a9785

Browse files
committed
Fix mail-extr regexp typo with ".".
Problem reported by Mattias Engdegård in: https://lists.gnu.org/r/emacs-devel/2019-04/msg00543.html * lisp/mail/mail-extr.el (mail-extr-telephone-extension-pattern): Escape the trailing optional period after an abbreviation.
1 parent 85b4441 commit e6a9785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lisp/mail/mail-extr.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ by translating things like \"foo!bar!baz@host\" into \"[email protected]\"."
383383
;; Matches telephone extensions.
384384
(defconst mail-extr-telephone-extension-pattern
385385
(purecopy
386-
"\\(\\([Ee]xt\\|[Tt]ph\\|[Tt]el\\|[Xx]\\).?\\)? *\\+?[0-9][- 0-9]+"))
386+
"\\(\\([Ee]xt\\|[Tt]ph\\|[Tt]el\\|[Xx]\\)\\.?\\)? *\\+?[0-9][- 0-9]+"))
387387

388388
;; Matches ham radio call signs.
389389
;; Help from: Mat Maessen N2NJZ <[email protected]>, Mark Feit

0 commit comments

Comments
 (0)