[Exim] Re: Detecting case of headers in a system filter

Top Pagina
Delete this message
Reply to this message
Auteur: Tabor J. Wells
Datum:  
Aan: Ben Smithurst
CC: exim-users
Onderwerp: [Exim] Re: Detecting case of headers in a system filter
On Tue, Dec 26, 2000 at 12:31:43AM +0000,
Ben Smithurst <ben@???> is thought to have said:

> "." doesn't match \n by default, insert "(?s)" at the start of the
> regular expression for that.


Ah. Perfect. Thanks.

> > I realize that this doesn't deal with the issue of case either, so my
> > next question would be how do I ensure that I match only when these
> > headers are uppercase.
>
> uh, I thought regexes were case sensitive by default. They are in Perl
> at least, if Exim changes that somehow then perhaps "(?-i)" at the front
> might make it case sensitive again, I'm not sure.


Apparantly not here. However "(?-i)" does the right thing.

Thanks again,

Tabor

-- 
--------------------------------------------------------------------
Tabor J. Wells                                     twells@???
Fsck It!                 Just another victim of the ambient morality