Re: [exim] Regular expressions in .forward files?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Robert Nicholson
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Regular expressions in .forward files?
Thank you that ended up working quite nicely.

On Mar 21, 2009, at 3:38 PM, Phil Pennock wrote:

> On 2009-03-21 at 15:24 -0500, Robert Nicholson wrote:
>> Is it still a character class like that?
>
> No, typo -- I did say it was untested.
>
> The important bit was to add two levels of quoting to what you had --
> one from \N...\N and one by removing the need for a level of quoting
> by
> removing the double quotes.
>
> So, try again:
> \N[^\x00-\x7f]{5,}\N
>
> Or even:
> \N[^[:ascii:]]{5,}\N
>
> -Phil
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/