On 2010-05-31 at 18:02 +0200, B. Johannessen wrote:
> directory = ${extract{home}{EXIM_RCPT}}/Maildir${if
> match{$address_file}{\N^[Ii][Nn][Bb][Oo][Xx]$|\/|\.\.|\|\N}{/}{${sg
> {$address_file}{\N^(\.|[Ii][Nn][Bb][Oo][Xx]\.)?(.*)$\N}{/.\$2}}}}
$ exim -be
> ${if match{InBoX}{\N^[Ii][Nn][Bb][Oo][Xx]$\N}}
true
> ${if match{InBoX}{\N(?i)^inbox$\N}}
true
PCRE internal option setting as part of the regex, the 'i' turns on
PCRE_CASELESS. See pcrepattern(3) for more details, or perlre(1).
-Phil