<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Using Regular Expressions to Filter Arraycollections.</title>
	<atom:link href="http://flexonblog.wordpress.com/2008/11/23/using-regular-expressions-to-filter-arraycollections/feed/" rel="self" type="application/rss+xml" />
	<link>http://flexonblog.wordpress.com/2008/11/23/using-regular-expressions-to-filter-arraycollections/</link>
	<description></description>
	<lastBuildDate>Wed, 06 Jan 2010 13:32:32 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: kumargandhi</title>
		<link>http://flexonblog.wordpress.com/2008/11/23/using-regular-expressions-to-filter-arraycollections/#comment-739</link>
		<dc:creator>kumargandhi</dc:creator>
		<pubDate>Sun, 18 Oct 2009 07:33:12 +0000</pubDate>
		<guid isPermaLink="false">http://flexonblog.wordpress.com/?p=239#comment-739</guid>
		<description>Hi,

sorry,I am on vacation, i can only reply after 22nd.

regards,
kumar.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>sorry,I am on vacation, i can only reply after 22nd.</p>
<p>regards,<br />
kumar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bheeman</title>
		<link>http://flexonblog.wordpress.com/2008/11/23/using-regular-expressions-to-filter-arraycollections/#comment-736</link>
		<dc:creator>Bheeman</dc:creator>
		<pubDate>Fri, 16 Oct 2009 09:32:49 +0000</pubDate>
		<guid isPermaLink="false">http://flexonblog.wordpress.com/?p=239#comment-736</guid>
		<description>Hi kumar,
This is bheeman 
i have a problem in filter function actually i am fetching data from DB and in the result event am storing it in an array collection ...
am using the code as below..

	private function empDetailsRes(event:ResultEvent):void
    		{
    			empArray=event.result.employee.details;
    			empArray.filterFunction=empInfoFilter;
    			
    		}

private function empInfoFilter(item:Object):Boolean
    		{
if(cmbId.selectedItem.SELID==3)
	    			{
	    				var f:String=&quot;ig&quot;;
	    				//var tmpName:String=new String(item.name);
	    				var orgExp:RegExp=new RegExp(txtSearch.text,f);
	    				var orgMatch:Boolean= orgExp.test(item.name);
	    				return(orgMatch);
}

private function setNewVal():void
		   {
		  		
				empArray.refresh();
		   } 


	
		
	
		
		
		
	
	
	
       
	

am able to search but i want the result in some different manner ..assume if ihave got four names
rakesh
ramesh kumar
deepa raman
ricky rajess

if i type in ra in text box i should get 
rakesh
ramesh kumar
ricky rajess
deepa raman


i mean first i need to get all the names with the letter i typed in and then i need to get the remaining names which are getting matched...

plz help me..:) i will be thank full to you..</description>
		<content:encoded><![CDATA[<p>Hi kumar,<br />
This is bheeman<br />
i have a problem in filter function actually i am fetching data from DB and in the result event am storing it in an array collection &#8230;<br />
am using the code as below..</p>
<p>	private function empDetailsRes(event:ResultEvent):void<br />
    		{<br />
    			empArray=event.result.employee.details;<br />
    			empArray.filterFunction=empInfoFilter;</p>
<p>    		}</p>
<p>private function empInfoFilter(item:Object):Boolean<br />
    		{<br />
if(cmbId.selectedItem.SELID==3)<br />
	    			{<br />
	    				var f:String=&#8221;ig&#8221;;<br />
	    				//var tmpName:String=new String(item.name);<br />
	    				var orgExp:RegExp=new RegExp(txtSearch.text,f);<br />
	    				var orgMatch:Boolean= orgExp.test(item.name);<br />
	    				return(orgMatch);<br />
}</p>
<p>private function setNewVal():void<br />
		   {</p>
<p>				empArray.refresh();<br />
		   } </p>
<p>am able to search but i want the result in some different manner ..assume if ihave got four names<br />
rakesh<br />
ramesh kumar<br />
deepa raman<br />
ricky rajess</p>
<p>if i type in ra in text box i should get<br />
rakesh<br />
ramesh kumar<br />
ricky rajess<br />
deepa raman</p>
<p>i mean first i need to get all the names with the letter i typed in and then i need to get the remaining names which are getting matched&#8230;</p>
<p>plz help me..:) i will be thank full to you..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lea-Mueller</title>
		<link>http://flexonblog.wordpress.com/2008/11/23/using-regular-expressions-to-filter-arraycollections/#comment-654</link>
		<dc:creator>Lea-Mueller</dc:creator>
		<pubDate>Wed, 29 Jul 2009 19:34:08 +0000</pubDate>
		<guid isPermaLink="false">http://flexonblog.wordpress.com/?p=239#comment-654</guid>
		<description>I cannot believe this will work!</description>
		<content:encoded><![CDATA[<p>I cannot believe this will work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: handoyo</title>
		<link>http://flexonblog.wordpress.com/2008/11/23/using-regular-expressions-to-filter-arraycollections/#comment-652</link>
		<dc:creator>handoyo</dc:creator>
		<pubDate>Wed, 22 Jul 2009 15:01:48 +0000</pubDate>
		<guid isPermaLink="false">http://flexonblog.wordpress.com/?p=239#comment-652</guid>
		<description>Thanks a lot for the code...</description>
		<content:encoded><![CDATA[<p>Thanks a lot for the code&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://flexonblog.wordpress.com/2008/11/23/using-regular-expressions-to-filter-arraycollections/#comment-648</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 07 Jul 2009 22:59:16 +0000</pubDate>
		<guid isPermaLink="false">http://flexonblog.wordpress.com/?p=239#comment-648</guid>
		<description>Thanks man.</description>
		<content:encoded><![CDATA[<p>Thanks man.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kumargandhi</title>
		<link>http://flexonblog.wordpress.com/2008/11/23/using-regular-expressions-to-filter-arraycollections/#comment-517</link>
		<dc:creator>kumargandhi</dc:creator>
		<pubDate>Tue, 24 Mar 2009 10:41:47 +0000</pubDate>
		<guid isPermaLink="false">http://flexonblog.wordpress.com/?p=239#comment-517</guid>
		<description>Hi David,

I have attached the source code to the post , can download.

regards,
kumar.</description>
		<content:encoded><![CDATA[<p>Hi David,</p>
<p>I have attached the source code to the post , can download.</p>
<p>regards,<br />
kumar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://flexonblog.wordpress.com/2008/11/23/using-regular-expressions-to-filter-arraycollections/#comment-516</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 24 Mar 2009 10:08:56 +0000</pubDate>
		<guid isPermaLink="false">http://flexonblog.wordpress.com/?p=239#comment-516</guid>
		<description>Thanks.
Please send me the code.</description>
		<content:encoded><![CDATA[<p>Thanks.<br />
Please send me the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marius</title>
		<link>http://flexonblog.wordpress.com/2008/11/23/using-regular-expressions-to-filter-arraycollections/#comment-403</link>
		<dc:creator>Marius</dc:creator>
		<pubDate>Fri, 02 Jan 2009 16:04:28 +0000</pubDate>
		<guid isPermaLink="false">http://flexonblog.wordpress.com/?p=239#comment-403</guid>
		<description>Thanks for providing above application
Would you please send me the code.

Thanks in advance

Best regards and happy new year
Marius</description>
		<content:encoded><![CDATA[<p>Thanks for providing above application<br />
Would you please send me the code.</p>
<p>Thanks in advance</p>
<p>Best regards and happy new year<br />
Marius</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kumargandhi</title>
		<link>http://flexonblog.wordpress.com/2008/11/23/using-regular-expressions-to-filter-arraycollections/#comment-391</link>
		<dc:creator>kumargandhi</dc:creator>
		<pubDate>Tue, 16 Dec 2008 14:10:33 +0000</pubDate>
		<guid isPermaLink="false">http://flexonblog.wordpress.com/?p=239#comment-391</guid>
		<description>hi i will mail you ASAP.

regards,
kumar.</description>
		<content:encoded><![CDATA[<p>hi i will mail you ASAP.</p>
<p>regards,<br />
kumar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: harish</title>
		<link>http://flexonblog.wordpress.com/2008/11/23/using-regular-expressions-to-filter-arraycollections/#comment-388</link>
		<dc:creator>harish</dc:creator>
		<pubDate>Mon, 15 Dec 2008 13:20:50 +0000</pubDate>
		<guid isPermaLink="false">http://flexonblog.wordpress.com/?p=239#comment-388</guid>
		<description>HI,
Thanks for providing above application 
please can u give me the code.......</description>
		<content:encoded><![CDATA[<p>HI,<br />
Thanks for providing above application<br />
please can u give me the code&#8230;&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
