diff options
author | Milan Crha <mcrha@redhat.com> | 2012-02-08 01:42:39 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-02-08 01:43:28 +0800 |
commit | 569cdde1969873a46b8674223343c51342db8771 (patch) | |
tree | a1fb0081d87dd3d4c90432095a940eea77eeb8fb /mail/filtertypes.xml | |
parent | 023c86423ced0e78f97786650720afa4958c15a7 (diff) | |
download | gsoc2013-evolution-569cdde1969873a46b8674223343c51342db8771.tar gsoc2013-evolution-569cdde1969873a46b8674223343c51342db8771.tar.gz gsoc2013-evolution-569cdde1969873a46b8674223343c51342db8771.tar.bz2 gsoc2013-evolution-569cdde1969873a46b8674223343c51342db8771.tar.lz gsoc2013-evolution-569cdde1969873a46b8674223343c51342db8771.tar.xz gsoc2013-evolution-569cdde1969873a46b8674223343c51342db8771.tar.zst gsoc2013-evolution-569cdde1969873a46b8674223343c51342db8771.zip |
Bug #391472 - Add ability to match headers by words
Diffstat (limited to 'mail/filtertypes.xml')
-rw-r--r-- | mail/filtertypes.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mail/filtertypes.xml b/mail/filtertypes.xml index 3e9bd08343..c655c32cb8 100644 --- a/mail/filtertypes.xml +++ b/mail/filtertypes.xml @@ -401,6 +401,18 @@ (match-all (not (header-contains "Subject" ${subject}))) </code> </option> + <option value="has-words"> + <title>has words</title> + <code> + (match-all (header-has-words "Subject" ${subject})) + </code> + </option> + <option value="not has-words"> + <title>does not have words</title> + <code> + (match-all (not (header-has-words "Subject" ${subject}))) + </code> + </option> <option value="is"> <title>is</title> <code> @@ -469,6 +481,18 @@ (match-all (not (header-contains ${header-field} ${word}))) </code> </option> + <option value="has-words"> + <title>has words</title> + <code> + (match-all (header-has-words ${header-field} ${word})) + </code> + </option> + <option value="not has-words"> + <title>does not have words</title> + <code> + (match-all (not (header-has-words ${header-field} ${word}))) + </code> + </option> <option value="is"> <title>is</title> <code> |