How to match a string like '+447537170394 <sms at aa.net.uk>' in a send hook?
Chris Green
cl at isbd.net
Wed Sep 25 07:50:38 UTC 2024
I want to match the following string in a To: address for a send-hook:-
+447537170394 <sms at aa.net.uk>
The + and < and > have special meanings (I think) in an RE, is there a
simple way to tell send-hook that this is just a string with no
special meanings at all or am I going to have to escape all the
specials? If I do need to escape them all what do I actually need to
put? Is it just:-
'\+447537170394 \<sms\@aa\.net\.uk\>'
... just tried the above, it doesn't match. So there must be more to
it.
--
Chris Green
More information about the Mutt-users
mailing list