On Thu, 2006-07-27 at 14:43 +0100, Philip Hazel wrote:
>
> Not a bug, but an infelicity, I grant you. In section 9.3 of the
> reference manual it says, in the paragraphs describing wildlsearch and
> nwildlsearch:
> 
>   Like lsearch, the testing is done case-insensitively.
>   
> What this means is that the subject string is lower cased before any 
> comparisons are done, and the regular expression by default has the 
> case-insensitive flag set. In the case of a regex, lowercasing the 
> subject isn't actually necessary -- it's done for other kinds of
> pattern.
> 
> The infelicity is that specifing (?-i) to change the case sensitivity of 
> the regex doesn't work, owing to the lower casing of the subject.
> 
> However, the good news is that I found a very small patch that makes it 
> work. The specification is now 
> 
>   Like lsearch, the testing is done case-insensitively, but in the case 
>   of a regular expression, the use of (?-i) in the regex turns on case-
>   sensitive matching. 
>   
> The patch is below. I will commit this shortly, so it will also be in 
> tonight's snapshot. 
> 
Hello,

I have tested the patch with our configuration and it works fine :-)


Thanks,

John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 233914
E-mail: [EMAIL PROTECTED]       Fax: +44 (0)1752 233839


-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to