<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: How filtering rules work exactly]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in How filtering rules work exactly of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Thu, 03 Sep 2009 17:45:52 +0300</lastBuildDateTag>		<item>
			<title>How filtering rules work exactly</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic8502/message29765/">How filtering rules work exactly</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			We're down to educated guesses here.<br /><br />I think "contains" means anywhere within the specified field while "match" means the specified field must completely match. "Contains any of" may just be a simple way for the RegEx shy to put in a space separated list of strings to be looked for within the field data. <br />
			<i>03 September 2009 17:45:52, <a href="http://www.ritlabs.com/en/forums/">Marck Pearlstone</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic8502/message29765/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic8502/message29765/</guid>
			<pubDate>Thu, 03 Sep 2009 17:45:52 +0300</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>How filtering rules work exactly</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic8502/message29763/">How filtering rules work exactly</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			Thanks Marck,<br /><br />this brings some clarity. <br />As I understand it, square brackets mean we're looking for a whole word only, so [cat] is equivalent to the regex \bcat\b and will not match the string as a part of a word, like in cats.<br /><br />So far so good, but it's still a mystery what's the difference between "contains" and "match" conditions, as well as between "contains" and "contains any of" <br />
			<i>03 September 2009 17:20:31, <a href="http://www.ritlabs.com/en/forums/">peter nn</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic8502/message29763/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic8502/message29763/</guid>
			<pubDate>Thu, 03 Sep 2009 17:20:31 +0300</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>How filtering rules work exactly</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic8502/message29762/">How filtering rules work exactly</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			There is an excellent tutorial on the <noindex><a href="http://www.silverstones.com/thebat/filtering.html" target="_blank" rel="nofollow">TBFAQ WebSite</a></noindex> on the subject of filtering. The screen shots are fr om v2 and things look a fair bit different, but what it has to say about filtering strings is interesting and still pertains.<br /><br />The RITlabs answer was, indeed, misleading. Only 'Matches all as regexp' uses proper regex. The rest used TB's own string matching logic, which is a little regular, but isn't truly regex. Ok, this may have changed and the regex engine <I>is</I> now used throughout, but my old filters still work, so ...<br /><br />Fr om the FAQ on Filtering:<br /><br />====quote====<br /><br />Square brackets surrounding a string mean that TB is to treat it as a string literal. This means that for a match string of [Re:] Re: will be true, but Re:do will be false. A better explanation would be [cat], wh ere cat would be true, but cats, catatonic, and catalyst would be false.<br /><br />Pipe characters ( usually SHFT-\ ) allow you to OR strings within a single rule set. In our above example, you could put [cat] | [cats] | [kat] | [katz] | [catz] on a single line. This allows you to group ORs without creating a long list of filter sets wh ere you have to scroll up and down to see them all. This can be done on the ALTERNATIVES tab as well as the RULE  tab.<br /><br />The double-quotes are used to make a case-sensitive match. So putting "cat" would match "cat", "catatonic", and "catalyst", but not "Cat", "caT", or "Cathy".<br /><br />The above brings up an important point. What if you want to do a case-sensitive sting literal match for just the word "cat". To do this, you'll need to enclose the entire string in single-quotes. i.e. '[cat]'.<br />=============<br /><br />This may or may not help <img src="http://www.ritlabs.com/bitrix/images/main/smiles/5/icon_wink.gif" border="0" data-code=";)" data-definition="SD" alt=";)" style="width:16px;height:16px;" title="" class="bx-smile" /> <br />
			<i>03 September 2009 16:24:06, <a href="http://www.ritlabs.com/en/forums/">Marck Pearlstone</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic8502/message29762/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic8502/message29762/</guid>
			<pubDate>Thu, 03 Sep 2009 16:24:06 +0300</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>How filtering rules work exactly</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic8502/message29761/">How filtering rules work exactly</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			well I know how to create regular expressions and have lots of tutorials on the subject, but my question was not at all about that. I just want to know what's the difference between these five filtering conditions.<br /><br />Now I know directly from the official source what's common - that they are "all bound to regular expressions" <img src="http://www.ritlabs.com/bitrix/images/main/smiles/5/icon_smile.gif" border="0" data-code=":)" data-definition="SD" alt=":)" style="width:16px;height:16px;" title="" class="bx-smile" /> <br />What a surprise!<br /><br />The Ritlabs support answer posted by Graham can hardly be less informative, but at least saved me some time for creating a ticket with the same question.<br /><br />If Ritlabs can't answer this, someone else please? <br />
			<i>03 September 2009 15:55:29, <a href="http://www.ritlabs.com/en/forums/">peter nn</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic8502/message29761/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic8502/message29761/</guid>
			<pubDate>Thu, 03 Sep 2009 15:55:29 +0300</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>How filtering rules work exactly</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic8502/message29753/">How filtering rules work exactly</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			Visit this site for a tutorial on Regex<br /><noindex><a href="http://www.regular-expressions.info/tutorial.html" target="_blank" rel="nofollow">www.regular-expressions.info/tutorial.html</a></noindex><br /><br />O'Reilly does have one book out can be found on Amazon/Chapters websites.<br />Title: Mastering Regular Expressions<br />ISBN 1-56592-257-3 <br />
			<i>02 September 2009 15:32:57, <a href="http://www.ritlabs.com/en/forums/">Arnold DeRoy</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic8502/message29753/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic8502/message29753/</guid>
			<pubDate>Wed, 02 Sep 2009 15:32:57 +0300</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>How filtering rules work exactly</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic8502/message29752/">How filtering rules work exactly</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			Peter, &nbsp;<br /><br />I raised a support ticket last week asking the same question.<br /><br />I got the following reply: <br />"The above mentioned conditions are all bound to regular expressions. Once you learn how to use regexps you will be able to make use one of these conditions.<br /><br />If you have any other questions I will be glad to assist you."<br /><br />I replied satying I know RegEx and could I have a specific example of how to use contains / contains any. No reponse as yet - if/when I get one I'll post it here.<br /><br />Graham <br />
			<i>02 September 2009 15:13:40, <a href="http://www.ritlabs.com/en/forums/">m2gdh Hubbard</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic8502/message29752/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic8502/message29752/</guid>
			<pubDate>Wed, 02 Sep 2009 15:13:40 +0300</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>How filtering rules work exactly</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic8502/message29649/">How filtering rules work exactly</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			Hello,<br /><br />I'm playing with sorting office filters and can't seem to understand how filter conditions exactly work.<br /><br />Specifically, what's the difference between conditions:<br />contains<br />match<br />contains any of<br />matches any of<br />matches all as regexp<br /><br />For instance how to match "pill" but not "pillow" or "spill" ?<br /><br />Also as I read it's possible to check for many strings at once by separating them with a pipe | character - if so, what's the difference between <br />Subject -&gt; match -&gt; word1|word2<br />and<br />Subject -&gt; matches any of -&gt; word1|word2<br />Also how to separate regexes, where | has a special meaning?<br /><br />I know I can find the answers by testing, but guess someone did it already and may share his knowledge.<br />Or maybe there is a tutorial on this somewhere?<br /><br />Thanks <br />
			<i>19 August 2009 10:57:53, <a href="http://www.ritlabs.com/en/forums/">peter nn</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic8502/message29649/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic8502/message29649/</guid>
			<pubDate>Wed, 19 Aug 2009 10:57:53 +0300</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
	</channel>
</rss>
