[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master e6a9785: Fix mail-extr regexp typo with ".".
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master e6a9785: Fix mail-extr regexp typo with ".". |
Date: |
Fri, 19 Apr 2019 11:23:56 -0400 (EDT) |
branch: master
commit e6a9785f8228130c339aad5ba0a514fee6539cab
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
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.
---
lisp/mail/mail-extr.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/mail/mail-extr.el b/lisp/mail/mail-extr.el
index a0b9688..c1e90c3 100644
--- a/lisp/mail/mail-extr.el
+++ b/lisp/mail/mail-extr.el
@@ -383,7 +383,7 @@ by translating things like \"address@hidden" into
\"address@hidden"."
;; 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 <address@hidden>, Mark Feit
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master e6a9785: Fix mail-extr regexp typo with ".".,
Paul Eggert <=