[TxMt] Mail firstLineMatch too restrictive
throw-away-1 at macromates.com
Tue Nov 14 09:13:30 UTC 2006
On 14. Nov 2006, at 00:16, Grant Hollingworth wrote:
> The firstLineMatch in the Mail bundle is '^From: (?=\w+@[\w-]+\.\w
> +)', which doesn't match addresses with names. For example, the
> first line of my emails is 'From: Grant Hollingworth
> <grant at antiflux.org>'.
> I changed the match to '^From: .*(?=\w+@[\w-]+\.\w+)' (i.e., check
> for an email address somewhere on the line).
I changed the default pattern to this as well. As of such, we
probably should change \w to [-a-zA-Z0-9_.] and appropriately for the
More information about the textmate