Re: regex in alternates
Quoting Jens Kubieziel (mutt-user@xxxxxxxxxxxx):
> I want to set up alternates so that all I catch all kubieziel.de
> addresses except one. So I tried .*@kubieziel.de to catch all and !foobar
> for the exception. But this didn't work. What would be the right solution
> for this?
I guess something like (?<!notthis)@kubieziel.de would work :)
That's called a negative look-behind.
See perldoc perlre and search for 'negative' ;)
Sander.
--
| Eat well, stay fit, die anyway.
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8 9BDB D463 7E41 08CE C94D