<?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: ActionScript Regular Expressions Testing Tool</title>
	<atom:link href="http://probertson.com/projects/actionscript-regexp-test/feed/" rel="self" type="application/rss+xml" />
	<link>http://probertson.com</link>
	<description>Thoughts on web development, user-centered design, code, etc. by Paul Robertson</description>
	<lastBuildDate>Sat, 31 Jul 2010 01:58:04 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: IntuitiveMedia, LLC &#187; ActionScript Regular Expressions Testing Tool</title>
		<link>http://probertson.com/projects/actionscript-regexp-test/comment-page-1/#comment-72978</link>
		<dc:creator>IntuitiveMedia, LLC &#187; ActionScript Regular Expressions Testing Tool</dc:creator>
		<pubDate>Wed, 03 Feb 2010 21:39:55 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/projects/actionscript-regexp-test/#comment-72978</guid>
		<description>&lt;!--%kramer-ref-pre%--&gt;[...] around for Actionscript Regular Expression syntax, I discovered Paul Robertson&#8217;s handy Actionscript Regular Expressions Testing Tool. It&#8217;s a real help and a great time saver as well! Thanks, Paul!    Categories: Actionscript, [...]&lt;!--%kramer-ref-post%--&gt;</description>
		<content:encoded><![CDATA[<p><a href="http://dev.wp-plugins.org/wiki/Kramer"><img src="http://probertson.com/homepages/43/d94818407/htdocs/probertson/wp-content/plugins/kramer.php?kramer=gif-icon" class="technorati-balloon" alt="Kramer auto Pingback" style="border:0;" /></a>[&#8230;] around for Actionscript Regular Expression syntax, I discovered Paul Robertson&#8217;s handy Actionscript Regular Expressions Testing Tool. It&#8217;s a real help and a great time saver as well! Thanks, Paul!    Categories: Actionscript, [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: programmer</title>
		<link>http://probertson.com/projects/actionscript-regexp-test/comment-page-1/#comment-62594</link>
		<dc:creator>programmer</dc:creator>
		<pubDate>Mon, 22 Jun 2009 19:32:18 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/projects/actionscript-regexp-test/#comment-62594</guid>
		<description>Thanks for the tool.  It saved me some time.</description>
		<content:encoded><![CDATA[<p>Thanks for the tool.  It saved me some time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eugene</title>
		<link>http://probertson.com/projects/actionscript-regexp-test/comment-page-1/#comment-59349</link>
		<dc:creator>Eugene</dc:creator>
		<pubDate>Sat, 18 Apr 2009 14:23:18 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/projects/actionscript-regexp-test/#comment-59349</guid>
		<description>Thanks! Really useful thing!</description>
		<content:encoded><![CDATA[<p>Thanks! Really useful thing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IntuitiveMedia, LLC &#187; ActionScript Regular Expressions Testing Tool</title>
		<link>http://probertson.com/projects/actionscript-regexp-test/comment-page-1/#comment-56875</link>
		<dc:creator>IntuitiveMedia, LLC &#187; ActionScript Regular Expressions Testing Tool</dc:creator>
		<pubDate>Wed, 04 Mar 2009 01:43:32 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/projects/actionscript-regexp-test/#comment-56875</guid>
		<description>[...] around for Actionscript Regular Expression syntax, I discovered Paul Robertson&#8217;s handy Actionscript Regular Expressions Testing Tool. It&#8217;s a real help and a great time saver as well! Thanks, Paul!   Author: bclover_weblog [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] around for Actionscript Regular Expression syntax, I discovered Paul Robertson&#8217;s handy Actionscript Regular Expressions Testing Tool. It&#8217;s a real help and a great time saver as well! Thanks, Paul!   Author: bclover_weblog [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ActionScript regular expression testing tool &#124; monline</title>
		<link>http://probertson.com/projects/actionscript-regexp-test/comment-page-1/#comment-53241</link>
		<dc:creator>ActionScript regular expression testing tool &#124; monline</dc:creator>
		<pubDate>Thu, 27 Nov 2008 09:13:25 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/projects/actionscript-regexp-test/#comment-53241</guid>
		<description>&lt;!--%kramer-ref-pre%--&gt;[...] regular expression testing tool   2008, November 11 - 10:23 — müzso     http://probertson.com/projects/actionscript-regexp-test/    It&#039;s a small Flex application with a few textareas/textboxes to help you test your [...]&lt;!--%kramer-ref-post%--&gt;</description>
		<content:encoded><![CDATA[<p><a href="http://dev.wp-plugins.org/wiki/Kramer"><img src="http://probertson.com/homepages/43/d94818407/htdocs/probertson/wp-content/plugins/kramer.php?kramer=gif-icon" class="technorati-balloon" alt="Kramer auto Pingback" style="border:0;" /></a>[&#8230;] regular expression testing tool   2008, November 11 - 10:23 — müzso     <a href="http://probertson.com/projects/actionscript-regexp-test/" rel="nofollow">http://probertson.com/projects/actionscript-regexp-test/</a>    It&#39;s a small Flex application with a few textareas/textboxes to help you test your [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Swanson</title>
		<link>http://probertson.com/projects/actionscript-regexp-test/comment-page-1/#comment-50671</link>
		<dc:creator>Ryan Swanson</dc:creator>
		<pubDate>Sun, 19 Oct 2008 04:19:48 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/projects/actionscript-regexp-test/#comment-50671</guid>
		<description>Hi Paul,

I just came across your site and found your regular expression tool.  I recently created a similar tool and thought you might be interested in it.  Especially since you have built a similar tool and likely thought through some of the similar ideas, I would love to get some feedback from you on what I have created.

The app is called the Flex 3 Regular Expression Explorer and can be found at my blog below.

http://blog.ryanswanson.com/2008/10/introducing-flex-3-regular-expression.html

The application is similar to the Flex Component and Style Explorers created by Adobe, but I have also added a collaborative community section where people can post their own regular expression examples as well as a full-feature help panel to get novices started with the technology.

Hope you like it!

Cheers,
Ryan</description>
		<content:encoded><![CDATA[<p>Hi Paul,</p>
<p>I just came across your site and found your regular expression tool.  I recently created a similar tool and thought you might be interested in it.  Especially since you have built a similar tool and likely thought through some of the similar ideas, I would love to get some feedback from you on what I have created.</p>
<p>The app is called the Flex 3 Regular Expression Explorer and can be found at my blog below.</p>
<p><a href="http://blog.ryanswanson.com/2008/10/introducing-flex-3-regular-expression.html" rel="nofollow">http://blog.ryanswanson.com/2008/10/introducing-flex-3-regular-expression.html</a></p>
<p>The application is similar to the Flex Component and Style Explorers created by Adobe, but I have also added a collaborative community section where people can post their own regular expression examples as well as a full-feature help panel to get novices started with the technology.</p>
<p>Hope you like it!</p>
<p>Cheers,<br />
Ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://probertson.com/projects/actionscript-regexp-test/comment-page-1/#comment-50448</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Thu, 16 Oct 2008 17:29:50 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/projects/actionscript-regexp-test/#comment-50448</guid>
		<description>@John:
There are a couple of reasons why you aren&#039;t getting the result you expect:

1. Regular expressions process strings one character at a time. Once a character has been included as part of a match, it can&#039;t be part of a subsequent match in the same pattern.

2. Regular expressions use &quot;greedy&quot; matching by default. That means that a single part of a pattern will include as many characters as it can. So &quot;.*&quot; in your pattern is going to include as many characters as it can, as long as they&#039;re followed by a &quot;b&quot;.

3. The global flag makes it so that you can get more than one result from a string; however, the captured results must be completely separate (a single character can&#039;t be included in multiple matches -- per rule #1)

4. There is a way to &quot;override&quot; rule 1 and allow characters to match more than one part of a pattern. To do this you use a &quot;&lt;a href=&quot;http://livedocs.adobe.com/flex/3/html/12_Using_Regular_Expressions_09.html&quot; rel=&quot;nofollow&quot;&gt;positive lookahead group&lt;/a&gt;&quot;. Unfortunately, positive lookahead groups are also considered &quot;noncapturing groups&quot; -- so you can&#039;t &quot;capture&quot; matches. In your example the syntax using a positive lookahead group would be &quot;(?=a.*b)&quot; -- notice that the original pattern is surrounded by &quot;(?=&quot; and &quot;)&quot;. Even though we can&#039;t see it, I believe that it does technically match twice. My reasoning is because if you run a test with the pattern &quot;((?=a.*b))&quot; and the string &quot;aab&quot;, using RegExp.exec() you get two indexed matches. (In that example, the positive lookahead group is surrounded by a capturing group.) Unfortunately the matches are empty -- I guess noncapturing groups&#039; content isn&#039;t included in a surrounding capturing group.</description>
		<content:encoded><![CDATA[<p>@John:<br />
There are a couple of reasons why you aren&#8217;t getting the result you expect:</p>
<p>1. Regular expressions process strings one character at a time. Once a character has been included as part of a match, it can&#8217;t be part of a subsequent match in the same pattern.</p>
<p>2. Regular expressions use &#8220;greedy&#8221; matching by default. That means that a single part of a pattern will include as many characters as it can. So &#8220;.*&#8221; in your pattern is going to include as many characters as it can, as long as they&#8217;re followed by a &#8220;b&#8221;.</p>
<p>3. The global flag makes it so that you can get more than one result from a string; however, the captured results must be completely separate (a single character can&#8217;t be included in multiple matches &#8212; per rule #1)</p>
<p>4. There is a way to &#8220;override&#8221; rule 1 and allow characters to match more than one part of a pattern. To do this you use a &#8220;<a href="http://livedocs.adobe.com/flex/3/html/12_Using_Regular_Expressions_09.html" rel="nofollow">positive lookahead group</a>&#8221;. Unfortunately, positive lookahead groups are also considered &#8220;noncapturing groups&#8221; &#8212; so you can&#8217;t &#8220;capture&#8221; matches. In your example the syntax using a positive lookahead group would be &#8220;(?=a.*b)&#8221; &#8212; notice that the original pattern is surrounded by &#8220;(?=&#8221; and &#8220;)&#8221;. Even though we can&#8217;t see it, I believe that it does technically match twice. My reasoning is because if you run a test with the pattern &#8220;((?=a.*b))&#8221; and the string &#8220;aab&#8221;, using RegExp.exec() you get two indexed matches. (In that example, the positive lookahead group is surrounded by a capturing group.) Unfortunately the matches are empty &#8212; I guess noncapturing groups&#8217; content isn&#8217;t included in a surrounding capturing group.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Grindall</title>
		<link>http://probertson.com/projects/actionscript-regexp-test/comment-page-1/#comment-50442</link>
		<dc:creator>John Grindall</dc:creator>
		<pubDate>Thu, 16 Oct 2008 14:01:34 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/projects/actionscript-regexp-test/#comment-50442</guid>
		<description>Hi, neat tool!
I have a question about these RegExps.  I&#039;m trying to match a.*b in the string aab.  I&#039;m expecting two matches, &#039;aab&#039; and also the final &#039;ab&#039;, but I only get one match, aab. I have the global flag set.
Any ideas?? Thanks!</description>
		<content:encoded><![CDATA[<p>Hi, neat tool!<br />
I have a question about these RegExps.  I&#8217;m trying to match a.*b in the string aab.  I&#8217;m expecting two matches, &#8216;aab&#8217; and also the final &#8216;ab&#8217;, but I only get one match, aab. I have the global flag set.<br />
Any ideas?? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://probertson.com/projects/actionscript-regexp-test/comment-page-1/#comment-47451</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Thu, 31 Jul 2008 09:31:26 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/projects/actionscript-regexp-test/#comment-47451</guid>
		<description>Hi Paul
Thanks for your reg ex checker. It saves me countless headaches. I use it every time I need one. Great work.</description>
		<content:encoded><![CDATA[<p>Hi Paul<br />
Thanks for your reg ex checker. It saves me countless headaches. I use it every time I need one. Great work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://probertson.com/projects/actionscript-regexp-test/comment-page-1/#comment-47386</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 29 Jul 2008 19:58:32 +0000</pubDate>
		<guid isPermaLink="false">http://probertson.com/projects/actionscript-regexp-test/#comment-47386</guid>
		<description>Hey there,

I had a question about something I&#039;m working on. I&#039;m a beginner at regular expressions and they confused the hell out of me. If anyone actually knows how to do this stuff could you give me examples of code and/or explain to me in very simple terms what I have to do?

What I&#039;ve done so far is gotten the source of a page to come back to me in the form of a string. In this source there&#039;s a table (in html), which I sort of need to use to create a table of my own... I mean, with those numbers in that table. So I used a regular expression to take out everything between the two  tags. I basically used this to do that : var pattern:RegExp = /(.*?)/;

But now, I&#039;m trying to create a 2-d array and put the columns and rows from the html table into that. So does anyone know how I can do that? What code to use?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hey there,</p>
<p>I had a question about something I&#8217;m working on. I&#8217;m a beginner at regular expressions and they confused the hell out of me. If anyone actually knows how to do this stuff could you give me examples of code and/or explain to me in very simple terms what I have to do?</p>
<p>What I&#8217;ve done so far is gotten the source of a page to come back to me in the form of a string. In this source there&#8217;s a table (in html), which I sort of need to use to create a table of my own&#8230; I mean, with those numbers in that table. So I used a regular expression to take out everything between the two  tags. I basically used this to do that : var pattern:RegExp = /(.*?)/;</p>
<p>But now, I&#8217;m trying to create a 2-d array and put the columns and rows from the html table into that. So does anyone know how I can do that? What code to use?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
