[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb 091a744 15/15: Make phone number snarfing regexp l
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb 091a744 15/15: Make phone number snarfing regexp less permissive |
Date: |
Thu, 22 Mar 2018 00:58:58 -0400 (EDT) |
branch: externals/ebdb
commit 091a744b43541a54dd3e991d1832339edcd642c5
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Make phone number snarfing regexp less permissive
* ebdb-snarf.el (ebdb-snarf-routines): This regexp was silly. It was
matching tiny little numbers, wreaking havoc on the snarfing
process. Also, those little tiny numbers should have raised an error
in ebdb-parse for phones.
---
ebdb-snarf.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ebdb-snarf.el b/ebdb-snarf.el
index 77c6984..3f3a7a8 100644
--- a/ebdb-snarf.el
+++ b/ebdb-snarf.el
@@ -50,7 +50,7 @@
(ebdb-field-url ,(concat "\\("
(regexp-opt ebdb-url-valid-schemes)
"//[^ \n\t]+\\)"))
- (ebdb-field-phone "\\(\\+?[[:digit:]]\\{1,3\\}[ )-.]?[[:digit:]
-.()]+\\)"))
+ (ebdb-field-phone "\\(\\+?[[:digit:]]\\{1,3\\}[ )-.]?[[:digit:]
-.()]\\{6,\\}\\)"))
"An alist of EBDB field classes and related regexps.
- [elpa] externals/ebdb 78cfb2a 06/15: Pop up EBDB windows before formatting records, (continued)
- [elpa] externals/ebdb 78cfb2a 06/15: Pop up EBDB windows before formatting records, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb ff6e919 09/15: Add a basic language field, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 5e42dff 03/15: Forgot to pop-to-buffer to after creating citation buffer, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 8e8c2e1 07/15: Make gnus-message window config stuff customizable, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 76f8d4b 10/15: Make it clear what field type we're prompting for, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 925e0ea 14/15: Remove mail-citation-prefix-regexp from strings to snarf, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 03d432d 02/15: Don't append citation to kill ring in ebdb-cite-records-ebdb, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb d53ddc1 08/15: Use Gnus' window configuration for popping up EBDB buffers, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 41912b9 11/15: Improve check for field existence during snarf collapsing, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb b56bf29 12/15: Adjust snarfing regexp for names, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 091a744 15/15: Make phone number snarfing regexp less permissive,
Eric Abrahamsen <=
- [elpa] externals/ebdb bb01b5c 13/15: Mostly re-write ebdb-snarf-collect, Eric Abrahamsen, 2018/03/22