<?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: Regular Expression to Replace System.out.println with Log4j</title>
	<atom:link href="http://www.weheartcode.com/2008/12/29/regular-expression-to-replace-systemoutprintln-with-log4j/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.weheartcode.com/2008/12/29/regular-expression-to-replace-systemoutprintln-with-log4j/</link>
	<description>A discourse on programming</description>
	<lastBuildDate>Mon, 19 Jul 2010 13:25:01 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bill</title>
		<link>http://www.weheartcode.com/2008/12/29/regular-expression-to-replace-systemoutprintln-with-log4j/comment-page-1/#comment-27177</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Thu, 08 Oct 2009 16:22:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.weheartcode.com/2008/12/29/regular-expression-to-replace-systemoutprintln-with-log4j/#comment-27177</guid>
		<description>Nice idea, but it does not account for the all to common case of:
System.out.println(myClassName + &quot;my quoted text&quot; +
   myVar1 +
   myVar2 +
   myVarN);

So I tried this:
System\.out\.println\((.+\R?){0,5}\);$

which works fine... you ask why the {0,5}? because eclipse seems to choke on the greedier &#039;+&#039; implementation. Perhaps a limitation in Eclipse.</description>
		<content:encoded><![CDATA[<p>Nice idea, but it does not account for the all to common case of:<br />
System.out.println(myClassName + &#8220;my quoted text&#8221; +<br />
   myVar1 +<br />
   myVar2 +<br />
   myVarN);</p>
<p>So I tried this:<br />
System\.out\.println\((.+\R?){0,5}\);$</p>
<p>which works fine&#8230; you ask why the {0,5}? because eclipse seems to choke on the greedier &#8216;+&#8217; implementation. Perhaps a limitation in Eclipse.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
