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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Phil Pennock
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Regular expressions in .forward files?
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