help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pattern-identification-data-extraction-format-string


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 <address@hidden>"
                               "<>") )) ; => address@hidden

Is there a more general way to do that, something
along the lines of:

    (pattern-identification-data-extraction-format-string
       "From: Joe Hacker <address@hidden>"
       ".*<%1>"
       "This is the data I want: %1" )

-- 
underground experts united


reply via email to

[Prev in Thread] Current Thread [Next in Thread]