<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: JQuery AutoComplete Search per Word</title>
	<atom:link href="http://teguheko.echodess.com/2009/09/jquery-autocomplete-search-per-word/feed/" rel="self" type="application/rss+xml" />
	<link>http://teguheko.echodess.com/2009/09/jquery-autocomplete-search-per-word/</link>
	<description>Web Programming and Sharing Experience</description>
	<lastBuildDate>Mon, 22 Aug 2011 04:39:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Donnie Sures</title>
		<link>http://teguheko.echodess.com/2009/09/jquery-autocomplete-search-per-word/comment-page-1/#comment-194</link>
		<dc:creator>Donnie Sures</dc:creator>
		<pubDate>Mon, 08 Nov 2010 13:43:55 +0000</pubDate>
		<guid isPermaLink="false">http://teguheko.echodess.com/?p=35#comment-194</guid>
		<description>Hello, I found your blog in a new directory of blogs.  I don&#039;t know how your blog came up, must have been a typo.  Your blog looks good, have a nice day.</description>
		<content:encoded><![CDATA[<p>Hello, I found your blog in a new directory of blogs.  I don&#8217;t know how your blog came up, must have been a typo.  Your blog looks good, have a nice day.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Predictive Dialer Systems</title>
		<link>http://teguheko.echodess.com/2009/09/jquery-autocomplete-search-per-word/comment-page-1/#comment-192</link>
		<dc:creator>Predictive Dialer Systems</dc:creator>
		<pubDate>Mon, 08 Nov 2010 10:55:46 +0000</pubDate>
		<guid isPermaLink="false">http://teguheko.echodess.com/?p=35#comment-192</guid>
		<description>dispenses utilize a superb web site decent Gives thank you for the work to help people</description>
		<content:encoded><![CDATA[<p>dispenses utilize a superb web site decent Gives thank you for the work to help people</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Betty Micek</title>
		<link>http://teguheko.echodess.com/2009/09/jquery-autocomplete-search-per-word/comment-page-1/#comment-165</link>
		<dc:creator>Betty Micek</dc:creator>
		<pubDate>Wed, 03 Nov 2010 13:30:10 +0000</pubDate>
		<guid isPermaLink="false">http://teguheko.echodess.com/?p=35#comment-165</guid>
		<description>but I thought you could tell me how to do that!! ;-)</description>
		<content:encoded><![CDATA[<p>but I thought you could tell me how to do that!! <img src='http://teguheko.echodess.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zack Lynaugh</title>
		<link>http://teguheko.echodess.com/2009/09/jquery-autocomplete-search-per-word/comment-page-1/#comment-148</link>
		<dc:creator>Zack Lynaugh</dc:creator>
		<pubDate>Sat, 30 Oct 2010 23:52:38 +0000</pubDate>
		<guid isPermaLink="false">http://teguheko.echodess.com/?p=35#comment-148</guid>
		<description>You made some good points there.  I did a search on the topic and some related sub topics and I have found a lot of corresponding views.</description>
		<content:encoded><![CDATA[<p>You made some good points there.  I did a search on the topic and some related sub topics and I have found a lot of corresponding views.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcin</title>
		<link>http://teguheko.echodess.com/2009/09/jquery-autocomplete-search-per-word/comment-page-1/#comment-79</link>
		<dc:creator>Marcin</dc:creator>
		<pubDate>Fri, 03 Sep 2010 13:20:50 +0000</pubDate>
		<guid isPermaLink="false">http://teguheko.echodess.com/?p=35#comment-79</guid>
		<description>@Teguh Eko Budiarto:

You can also use which should catch all whitespace characters
var reg = new RegExp(&quot;(^&quot;+ sub +&quot;&#124;\\s&quot; + sub + &quot;)&quot;,&quot;i&quot;);
i = (reg.test(s) ? 0 : -1);</description>
		<content:encoded><![CDATA[<p>@Teguh Eko Budiarto:</p>
<p>You can also use which should catch all whitespace characters<br />
var reg = new RegExp(&#8220;(^&#8221;+ sub +&#8221;|\\s&#8221; + sub + &#8220;)&#8221;,&#8221;i&#8221;);<br />
i = (reg.test(s) ? 0 : -1);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Teguh Eko Budiarto</title>
		<link>http://teguheko.echodess.com/2009/09/jquery-autocomplete-search-per-word/comment-page-1/#comment-58</link>
		<dc:creator>Teguh Eko Budiarto</dc:creator>
		<pubDate>Fri, 02 Jul 2010 07:14:37 +0000</pubDate>
		<guid isPermaLink="false">http://teguheko.echodess.com/?p=35#comment-58</guid>
		<description>iya, memang harus per kata kan ya? namanya juga search per word.
per huruf gitu maksudnya? coba pastikan fungsi matchSubset di versi autocomplete yang dipakai apakah ada line berikut =&gt; 
if (options.matchContains == &quot;word&quot;){
    i = s.toLowerCase().search(&quot;\\b&quot; + sub.toLowerCase());
}</description>
		<content:encoded><![CDATA[<p>iya, memang harus per kata kan ya? namanya juga search per word.<br />
per huruf gitu maksudnya? coba pastikan fungsi matchSubset di versi autocomplete yang dipakai apakah ada line berikut =><br />
if (options.matchContains == &#8220;word&#8221;){<br />
    i = s.toLowerCase().search(&#8220;\\b&#8221; + sub.toLowerCase());<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ricky</title>
		<link>http://teguheko.echodess.com/2009/09/jquery-autocomplete-search-per-word/comment-page-1/#comment-57</link>
		<dc:creator>ricky</dc:creator>
		<pubDate>Fri, 02 Jul 2010 07:04:07 +0000</pubDate>
		<guid isPermaLink="false">http://teguheko.echodess.com/?p=35#comment-57</guid>
		<description>halo bro, saya sudah coba kok ngak mau yah? tetap cari berdasarkan kata</description>
		<content:encoded><![CDATA[<p>halo bro, saya sudah coba kok ngak mau yah? tetap cari berdasarkan kata</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Cort Larsen</title>
		<link>http://teguheko.echodess.com/2009/09/jquery-autocomplete-search-per-word/comment-page-1/#comment-52</link>
		<dc:creator>Peter Cort Larsen</dc:creator>
		<pubDate>Wed, 24 Mar 2010 09:27:34 +0000</pubDate>
		<guid isPermaLink="false">http://teguheko.echodess.com/?p=35#comment-52</guid>
		<description>Great work, just what i needed! Thanks</description>
		<content:encoded><![CDATA[<p>Great work, just what i needed! Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Teguh Eko Budiarto</title>
		<link>http://teguheko.echodess.com/2009/09/jquery-autocomplete-search-per-word/comment-page-1/#comment-5</link>
		<dc:creator>Teguh Eko Budiarto</dc:creator>
		<pubDate>Tue, 29 Sep 2009 03:10:29 +0000</pubDate>
		<guid isPermaLink="false">http://teguheko.echodess.com/?p=35#comment-5</guid>
		<description>based on experience, the code in 6th line

&lt;code&gt;
i = s.toLowerCase().search(&quot;\\b&quot; + sub.toLowerCase()); can not be used for japanese search.&lt;/code&gt;

So, I changed it to this line:
&lt;code&gt;var reg = new RegExp(&quot;(^&quot;+ sub +&quot;&#124; &quot; + sub + &quot;&#124;\u3000&quot; + sub + &quot;)&quot;,&quot;i&quot;);
i = (reg.test(s) ? 0 : -1);
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>based on experience, the code in 6th line</p>
<p><code><br />
i = s.toLowerCase().search("\\b" + sub.toLowerCase()); can not be used for japanese search.</code></p>
<p>So, I changed it to this line:<br />
<code>var reg = new RegExp("(^"+ sub +"| " + sub + "|\u3000" + sub + ")","i");<br />
i = (reg.test(s) ? 0 : -1);<br />
</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

