<?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: Source of the famous &#8220;Now you have two problems&#8221; quote</title>
	<atom:link href="http://regex.info/blog/2006-09-15/247/feed" rel="self" type="application/rss+xml" />
	<link>http://regex.info/blog/2006-09-15/247</link>
	<description>Not a photo blog. A personal blog with photos.</description>
	<lastBuildDate>Tue, 07 Feb 2012 15:03:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: DavidY</title>
		<link>http://regex.info/blog/2006-09-15/247#comment-44632</link>
		<dc:creator>DavidY</dc:creator>
		<pubDate>Fri, 25 Nov 2011 21:49:57 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/2006-09-15/247#comment-44632</guid>
		<description>I know this post is now very old, but since it pertains to the origins of a quote equating a solution to a problem, I thought you might be interested in this quote, which was quothed sometime before 1832: 
&quot;The solution of every problem is another problem.&quot; -Johann Wolfgang von Goethe</description>
		<content:encoded><![CDATA[<p>I know this post is now very old, but since it pertains to the origins of a quote equating a solution to a problem, I thought you might be interested in this quote, which was quothed sometime before 1832:<br />
&#8220;The solution of every problem is another problem.&#8221; -Johann Wolfgang von Goethe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MikeP</title>
		<link>http://regex.info/blog/2006-09-15/247#comment-38487</link>
		<dc:creator>MikeP</dc:creator>
		<pubDate>Wed, 17 Mar 2010 03:21:34 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/2006-09-15/247#comment-38487</guid>
		<description>I know why regular expressions are a problem.

It&#039;s quite simple:  It&#039;s hard to distinguish between the data and operators.

It&#039;s even more difficult when you add in another layer of escaping, such as emacs or perl.

For example, I&#039;m continually wondering if a parenthesis will match literally or if it will be interpreted as a grouping operator.  How many backslashes will I need to get it right?  In xemacs, it&#039;s always a little confusing because sometimes you&#039;re prompted for a regular expression, and sometimes you code it in lisp.

I vaguely remember using a language many years back called REXX on IBM mainframes that had an interesting instruction called &#039;parse&#039; that did only a fraction of what regular expressions would do, but there seemed to be a clear idea what was a pattern you were matching.</description>
		<content:encoded><![CDATA[<p>I know why regular expressions are a problem.</p>
<p>It&#8217;s quite simple:  It&#8217;s hard to distinguish between the data and operators.</p>
<p>It&#8217;s even more difficult when you add in another layer of escaping, such as emacs or perl.</p>
<p>For example, I&#8217;m continually wondering if a parenthesis will match literally or if it will be interpreted as a grouping operator.  How many backslashes will I need to get it right?  In xemacs, it&#8217;s always a little confusing because sometimes you&#8217;re prompted for a regular expression, and sometimes you code it in lisp.</p>
<p>I vaguely remember using a language many years back called REXX on IBM mainframes that had an interesting instruction called &#8216;parse&#8217; that did only a fraction of what regular expressions would do, but there seemed to be a clear idea what was a pattern you were matching.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter J. Hart</title>
		<link>http://regex.info/blog/2006-09-15/247#comment-38486</link>
		<dc:creator>Peter J. Hart</dc:creator>
		<pubDate>Wed, 17 Mar 2010 00:04:50 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/2006-09-15/247#comment-38486</guid>
		<description>&quot;The &lt;center&gt; will not hold&quot;
http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags</description>
		<content:encoded><![CDATA[<p>&#8220;The &lt;center&gt; will not hold&#8221;<br />
<a href="http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags" rel="nofollow">http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric TF Bat</title>
		<link>http://regex.info/blog/2006-09-15/247#comment-38484</link>
		<dc:creator>Eric TF Bat</dc:creator>
		<pubDate>Tue, 16 Mar 2010 22:49:16 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/2006-09-15/247#comment-38484</guid>
		<description>&lt;i&gt;Perl regex R.I.P.&lt;/i&gt;

&quot;My name is &lt;a href=&#039;http://en.wikipedia.org/wiki/Ozymandias&#039; rel=&quot;nofollow&quot;&gt;Ozymandias&lt;/a&gt;, King of Kings \ Look on my works, ye Mighty, and despair!&quot;

Still, it would be nice to have a friendlier way to do every single thing that Perl regexps do...</description>
		<content:encoded><![CDATA[<p><i>Perl regex R.I.P.</i></p>
<p>&#8220;My name is <a href='http://en.wikipedia.org/wiki/Ozymandias' rel="nofollow">Ozymandias</a>, King of Kings \ Look on my works, ye Mighty, and despair!&#8221;</p>
<p>Still, it would be nice to have a friendlier way to do every single thing that Perl regexps do&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dr. Jochen L. Leidner</title>
		<link>http://regex.info/blog/2006-09-15/247#comment-38478</link>
		<dc:creator>Dr. Jochen L. Leidner</dc:creator>
		<pubDate>Tue, 16 Mar 2010 15:23:26 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/2006-09-15/247#comment-38478</guid>
		<description>There&#039;s a nicer alternative to the ugly model &quot;use regular expressions to match text patterns and print out replacements as Perl actions&quot;: Xerox has defined a language that allows name abstraction,  i.e. sub-expressions can be named for comprehension, modularity and re-use.
Furthermore, their language is symmetric between input and output, i.e. extended regular expressions can be run forwards and backwards (which means, if you specify a converter, you get the back converter for free).

http://www.cis.upenn.edu/~cis639/docs/xfst.html
http://www.stanford.edu/~laurik/fsmbook/home.html
(e.g. http://www.stanford.edu/~laurik/fsmbook/examples/NumbersToNumerals.html shows a converter between English numberals: 15 -&gt; &quot;fifteen&quot; or back &quot;two hundred&quot; -&gt; 200)

Perl regex R.I.P.

&lt;span class=&#039;jfriedl&#039;&gt;There are lots of languages and systems that all sort of do the same thing, and Perl was certainly not the first nor the best, but whatever gave it its staying power for the last 20 years will not vanish overnight. Given that the language you cite has been around for seven years and had no apparent impact, your &quot;R.I.P.&quot; comment seems a touch comical. Still, I&#039;m all for anything useful, so if it is, let&#039;s hope it gets some traction. &#8212;Jeffrey&lt;/span&gt;</description>
		<content:encoded><![CDATA[<p>There&#8217;s a nicer alternative to the ugly model &#8220;use regular expressions to match text patterns and print out replacements as Perl actions&#8221;: Xerox has defined a language that allows name abstraction,  i.e. sub-expressions can be named for comprehension, modularity and re-use.<br />
Furthermore, their language is symmetric between input and output, i.e. extended regular expressions can be run forwards and backwards (which means, if you specify a converter, you get the back converter for free).</p>
<p><a href="http://www.cis.upenn.edu/~cis639/docs/xfst.html" rel="nofollow">http://www.cis.upenn.edu/~cis639/docs/xfst.html</a><br />
<a href="http://www.stanford.edu/~laurik/fsmbook/home.html" rel="nofollow">http://www.stanford.edu/~laurik/fsmbook/home.html</a><br />
(e.g. <a href="http://www.stanford.edu/~laurik/fsmbook/examples/NumbersToNumerals.html" rel="nofollow">http://www.stanford.edu/~laurik/fsmbook/examples/NumbersToNumerals.html</a> shows a converter between English numberals: 15 -&gt; &#8220;fifteen&#8221; or back &#8220;two hundred&#8221; -&gt; 200)</p>
<p>Perl regex R.I.P.</p>
<p><span class='jfriedl'>There are lots of languages and systems that all sort of do the same thing, and Perl was certainly not the first nor the best, but whatever gave it its staying power for the last 20 years will not vanish overnight. Given that the language you cite has been around for seven years and had no apparent impact, your &#8220;R.I.P.&#8221; comment seems a touch comical. Still, I&#8217;m all for anything useful, so if it is, let&#8217;s hope it gets some traction. &mdash;Jeffrey</span></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fredrik</title>
		<link>http://regex.info/blog/2006-09-15/247#comment-18969</link>
		<dc:creator>Fredrik</dc:creator>
		<pubDate>Sat, 26 Jul 2008 12:39:18 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/2006-09-15/247#comment-18969</guid>
		<description>And for the record, I can confirm that I got the quotation from that thread. As we all know, &quot;All good quotes come from jwz, or are slightly paraphrased versions of something he&#039;s said.&quot; (use google if you want the source of *that* quotation ;-)

As for the mistaken attribution, it&#039;s just a silly mistake. But it has been fun to see how it&#039;s spread over the net over the years.</description>
		<content:encoded><![CDATA[<p>And for the record, I can confirm that I got the quotation from that thread. As we all know, &#8220;All good quotes come from jwz, or are slightly paraphrased versions of something he&#8217;s said.&#8221; (use google if you want the source of *that* quotation <img src='http://regex.info/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>As for the mistaken attribution, it&#8217;s just a silly mistake. But it has been fun to see how it&#8217;s spread over the net over the years.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leigh L. Klotz, Jr.</title>
		<link>http://regex.info/blog/2006-09-15/247#comment-18269</link>
		<dc:creator>Leigh L. Klotz, Jr.</dc:creator>
		<pubDate>Fri, 06 Jun 2008 18:22:40 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/2006-09-15/247#comment-18269</guid>
		<description>OK, I think I&#039;ve written more PostScript by hand than Jamie, so I assume he thinks I&#039;m not reading this.  Back in the old days, I designed a system that used incredible amounts of PostScript.  One thing that made it easier for us was a C-like syntax to PS compiler, done by a fellow at the Turning Institute.  We licensed it and used it heavily, and I extended it a bit to be able to handle uneven stack-armed IF, and added varieties of inheritance.  The project was called
&lt;a href=&quot;http://compilers.iecc.com/comparch/article/93-01-152&quot; rel=&quot;nofollow&quot;&gt;PdB&lt;/a&gt; and eventually it folded, and the author left and went to First Person Software, where he wrote a very similar language syntax for something called Oak, and it compiled to bytecodes instead of PostScript.  Oak got renamed Java.  

So there.

And yes, we did have two problems...</description>
		<content:encoded><![CDATA[<p>OK, I think I&#8217;ve written more PostScript by hand than Jamie, so I assume he thinks I&#8217;m not reading this.  Back in the old days, I designed a system that used incredible amounts of PostScript.  One thing that made it easier for us was a C-like syntax to PS compiler, done by a fellow at the Turning Institute.  We licensed it and used it heavily, and I extended it a bit to be able to handle uneven stack-armed IF, and added varieties of inheritance.  The project was called<br />
<a href="http://compilers.iecc.com/comparch/article/93-01-152" rel="nofollow">PdB</a> and eventually it folded, and the author left and went to First Person Software, where he wrote a very similar language syntax for something called Oak, and it compiled to bytecodes instead of PostScript.  Oak got renamed Java.  </p>
<p>So there.</p>
<p>And yes, we did have two problems&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kragen Javier Sitaker</title>
		<link>http://regex.info/blog/2006-09-15/247#comment-17469</link>
		<dc:creator>Kragen Javier Sitaker</dc:creator>
		<pubDate>Tue, 13 May 2008 20:37:03 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/2006-09-15/247#comment-17469</guid>
		<description>Maybe the people who are claiming PostScript can be readable can post links to their readable PostScript?  I agree that most PostScript you run across is less readable than it could be, and I admit I&#039;ve probably written less than a thousand lines of PostScript in my life, but even the stuff in the Blue Book doesn&#039;t seem all that readable to me, compared to C or Python or elisp or, yes, even Perl.  The postfix syntax (what is this block for again?  is this a loop or a conditional or what?  let me scan down to the end of the block --- oh, there&#039;s another block there, what&#039;s after that?  Oh, ifelse, okay, where was I again?) and the point-free style (how many things does this function &lt;code&gt;foo&lt;/code&gt; want on the stack?  Well, apparently one less than this &lt;code&gt;bar&lt;/code&gt; that it calls; where is &lt;code&gt;bar&lt;/code&gt; again?), the pervasive use of higher-order programming both because it&#039;s easy and because the built-in control features are a little lame (where was that function defined again? grep can&#039;t find it...), and certain &quot;noisy&quot; idioms like explicit manipulation of symbol tables in order to get named local variables and fixed-size aggregate data structures... it&#039;s all kind of a mess.

However, it does have some big readability &lt;i&gt;advantages&lt;/i&gt; over, say, C, at least sometimes.  The graphics drawing API is to die for; as long as you don&#039;t care about the error handling, it&#039;s ideal for defining embedded DSLs, precisely because of its point-free higher-order nature; it has built-in arrays and dicts (even if they are fixed-size); and so on.  But these are mostly a help to readability in the large, not in the small.

Anyway, this is already too long for an off-topic comment, so I&#039;ll stop.

&lt;span class=&#039;jfriedl&#039;&gt;I&#039;ve written full-fledged applications in PostScript &#8211; it can be done &#8211; but it&#039;s important to remember that PostScript has been designed for machine-generated scripts. A human does not normally code in PostScript directly, but rather, they write a program in another language that produces PostScript to do what they want.  (I realized this &lt;i&gt;after&lt;/i&gt; having written said applications :-))  &#8212;Jeffrey&lt;/span&gt;</description>
		<content:encoded><![CDATA[<p>Maybe the people who are claiming PostScript can be readable can post links to their readable PostScript?  I agree that most PostScript you run across is less readable than it could be, and I admit I&#8217;ve probably written less than a thousand lines of PostScript in my life, but even the stuff in the Blue Book doesn&#8217;t seem all that readable to me, compared to C or Python or elisp or, yes, even Perl.  The postfix syntax (what is this block for again?  is this a loop or a conditional or what?  let me scan down to the end of the block &#8212; oh, there&#8217;s another block there, what&#8217;s after that?  Oh, ifelse, okay, where was I again?) and the point-free style (how many things does this function <code>foo</code> want on the stack?  Well, apparently one less than this <code>bar</code> that it calls; where is <code>bar</code> again?), the pervasive use of higher-order programming both because it&#8217;s easy and because the built-in control features are a little lame (where was that function defined again? grep can&#8217;t find it&#8230;), and certain &#8220;noisy&#8221; idioms like explicit manipulation of symbol tables in order to get named local variables and fixed-size aggregate data structures&#8230; it&#8217;s all kind of a mess.</p>
<p>However, it does have some big readability <i>advantages</i> over, say, C, at least sometimes.  The graphics drawing API is to die for; as long as you don&#8217;t care about the error handling, it&#8217;s ideal for defining embedded DSLs, precisely because of its point-free higher-order nature; it has built-in arrays and dicts (even if they are fixed-size); and so on.  But these are mostly a help to readability in the large, not in the small.</p>
<p>Anyway, this is already too long for an off-topic comment, so I&#8217;ll stop.</p>
<p><span class='jfriedl'>I&#8217;ve written full-fledged applications in PostScript &ndash; it can be done &ndash; but it&#8217;s important to remember that PostScript has been designed for machine-generated scripts. A human does not normally code in PostScript directly, but rather, they write a program in another language that produces PostScript to do what they want.  (I realized this <i>after</i> having written said applications <img src='http://regex.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> )  &mdash;Jeffrey</span></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://regex.info/blog/2006-09-15/247#comment-13604</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Wed, 23 Jan 2008 08:36:01 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/2006-09-15/247#comment-13604</guid>
		<description>Following Yakugo&#039;s lead...

“Give a man a regular expression and he’ll match a string…
teach him to make his own regular expressions and you’ve got a man with problems.”
–me_da_clever_one 



&quot;Give a man a regular expression and he&#039;ll match a string... but by teaching him how to create them, you&#039;ve given him enough rope to hang himself&quot; - Andy Hood</description>
		<content:encoded><![CDATA[<p>Following Yakugo&#8217;s lead&#8230;</p>
<p>“Give a man a regular expression and he’ll match a string…<br />
teach him to make his own regular expressions and you’ve got a man with problems.”<br />
–me_da_clever_one </p>
<p>&#8220;Give a man a regular expression and he&#8217;ll match a string&#8230; but by teaching him how to create them, you&#8217;ve given him enough rope to hang himself&#8221; &#8211; Andy Hood</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marius Andersen</title>
		<link>http://regex.info/blog/2006-09-15/247#comment-11005</link>
		<dc:creator>Marius Andersen</dc:creator>
		<pubDate>Sat, 03 Nov 2007 22:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://regex.info/blog/2006-09-15/247#comment-11005</guid>
		<description>BTW, a preview button would have been nice.</description>
		<content:encoded><![CDATA[<p>BTW, a preview button would have been nice.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

