Re: [Evolution] Mail filter case-independent regex



On Wed, 2008-02-06 at 09:26 +0000, John Horne wrote:

Does anyone know how I can enter a mail filter rule which will match a
string case-independently? I'm trying to get a rule to look for the word
'summary', in any character case, in the subject line, and then put the
msg into a folder. I tried using '(?i)summary' but it didn't seem to
match at all. The only other way I could think of doing it was by
putting all the letters in a class - e.g. '[sS][uU][mM]...'. That too
didn't work though.

FYI -
Using a 'regex match' with 'message header' seems to have sorted the
problem out. I used '^Subject:.*SUMMAR' to cater for 'summary' and
'summaries'.


John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 233914
E-mail: John Horne plymouth ac uk       Fax: +44 (0)1752 233839



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]