|
From: | Emanuel Berg |
Subject: | pattern-identification-data-extraction-format-string |
Date: | Mon, 23 Mar 2015 01:10:22 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Check this out: (car (last (message-tokenize-header "From: Joe Hacker <get@this.data>" "<>") )) ; => get@this.data Is there a more general way to do that, something along the lines of: (pattern-identification-data-extraction-format-string "From: Joe Hacker <get@this.data>" ".*<%1>" "This is the data I want: %1" ) -- underground experts united
[Prev in Thread] | Current Thread | [Next in Thread] |