aboutsummaryrefslogtreecommitdiffstats
path: root/mail/searchtypes.xml
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-02-08 01:42:39 +0800
committerMilan Crha <mcrha@redhat.com>2012-02-08 01:43:28 +0800
commit569cdde1969873a46b8674223343c51342db8771 (patch)
treea1fb0081d87dd3d4c90432095a940eea77eeb8fb /mail/searchtypes.xml
parent023c86423ced0e78f97786650720afa4958c15a7 (diff)
downloadgsoc2013-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/searchtypes.xml')
-rw-r--r--mail/searchtypes.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/mail/searchtypes.xml b/mail/searchtypes.xml
index bac9794e63..c74f58cbf7 100644
--- a/mail/searchtypes.xml
+++ b/mail/searchtypes.xml
@@ -339,6 +339,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>
@@ -395,6 +407,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>