branch: externals/ebdb
commit e71548da98480ef84925f4decb86a568428fbc6e
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>
Allow for characters before mail addresses when snarfing
* ebdb-snarf.el (ebdb-snarf-routines): Basically, when there are
certain characters before a mail address in the buffer, ignore them
and look for a name on the line above.
---
ebdb-snarf.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ebdb-snarf.el b/ebdb-snarf.el
index 25d2409..631654b 100644
--- a/ebdb-snarf.el
+++ b/ebdb-snarf.el
@@ -46,7 +46,7 @@
:group 'ebdb)
(defcustom ebdb-snarf-routines
- '((ebdb-field-mail "\\([^[:space:]\":\n<[]+@[^]:[:space:]>\"\n]+\\)"))
+ '((ebdb-field-mail
"[[:blank:]([<\"]*\\([^[:space:]\":\n<[]+@[^]:[:space:]>\"\n]+\\)"))
"An alist of EBDB field classes and related regexps.