<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>alecmce.com &#187; RegExp</title>
	<atom:link href="http://alecmce.com/tag/regexp/feed" rel="self" type="application/rss+xml" />
	<link>http://alecmce.com</link>
	<description></description>
	<lastBuildDate>Thu, 10 Nov 2011 21:56:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Finding Methods without JavaDoc comments in AS3</title>
		<link>http://alecmce.com/as3/finding-methods-without-javadoc-comments-in-as3</link>
		<comments>http://alecmce.com/as3/finding-methods-without-javadoc-comments-in-as3#comments</comments>
		<pubDate>Fri, 21 Aug 2009 10:42:49 +0000</pubDate>
		<dc:creator>alecmce</dc:creator>
				<category><![CDATA[as3]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[RegExp]]></category>

		<guid isPermaLink="false">http://alecmce.com/?p=274</guid>
		<description><![CDATA[If you need to find methods in a project that don&#8217;t have JavaDoc comments in them, Java developers can use checkstyle. Unfortunately, it doesn&#8217;t appear to work with AS3 files. (At least, in the limited amount of time I&#8217;ve had to look at it, I can&#8217;t make it work. If you know how to, please [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to find methods in a project that don&#8217;t have JavaDoc comments in them, Java developers can use <a href="http://eclipse-cs.sourceforge.net/">checkstyle</a>. Unfortunately, it doesn&#8217;t appear to work with AS3 files. (At least, in the limited amount of time I&#8217;ve had to look at it, I can&#8217;t make it work. If you know how to, please let me know!)</p>
<p>Instead, if you want to find uncommented methods in an AS3 project, you can use the following regular expression. It looks for alpha-numeric characters between the end of a variable definition or method and the start of a method, and as such it is not infallible. However, it works for me using Eclipse, and I thought it might be useful for others:</p>
<pre class="brush: as3; title: ; notranslate">
(?s)(}|;)([^\w\}\;]+?)((override |)(private|public|protected)( override|) function)
</pre>
<p>If you have a superior mechanism for finding uncommented AS3 methods (particularly if it is integrated into Eclipse), please let me know!</p>
]]></content:encoded>
			<wfw:commentRss>http://alecmce.com/as3/finding-methods-without-javadoc-comments-in-as3/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

