summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-04-19 08:23:15 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-04-19 08:23:52 -0700
commite6a9785f8228130c339aad5ba0a514fee6539cab (patch)
tree04c6d84f79a653f404ec835b72cba91541ba805e
parent85b4441472a443dd8fd053d7b088b1e3667347d3 (diff)
downloademacs-e6a9785f8228130c339aad5ba0a514fee6539cab.tar.gz
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.
-rw-r--r--lisp/mail/mail-extr.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/mail-extr.el b/lisp/mail/mail-extr.el
index a0b96886507..c1e90c3dcb8 100644
--- a/lisp/mail/mail-extr.el
+++ b/lisp/mail/mail-extr.el
@@ -383,7 +383,7 @@ by translating things like \"foo!bar!baz@host\" into \"baz@bar.UUCP\"."
;; Matches telephone extensions.
(defconst mail-extr-telephone-extension-pattern
(purecopy
- "\\(\\([Ee]xt\\|[Tt]ph\\|[Tt]el\\|[Xx]\\).?\\)? *\\+?[0-9][- 0-9]+"))
+ "\\(\\([Ee]xt\\|[Tt]ph\\|[Tt]el\\|[Xx]\\)\\.?\\)? *\\+?[0-9][- 0-9]+"))
;; Matches ham radio call signs.
;; Help from: Mat Maessen N2NJZ <maessm@rpi.edu>, Mark Feit