Re: [Evolution] Mail filter case-independent regex




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

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.

Running evolution 2.12.3.


Thanks,

John.

create a script that uses a regex to match what you want, and returns 1
when found, 0 when not found.  Setup a filter to "pipe to program" that
script and do whatever you want when it is returned 1.



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