I have a regular expression, but it does not work properly. The regular expression is:
m/^alias ([^\s]*) (.*) (<.*>)/
I tested my expression on a mutt file to convert it into a vcard. My string for the test is:
alias john smith <john.smith@test.com>
But between alias
and john
I have a tab, and ([^\s]*)
doesn't find the tab. Why not? Normally \s
matches spaces or tabs, doesn't it?