<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 20 Nov 2008 11:13:39 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Sean Coates' Blog: PHP Pie?]]></title>
      <guid>http://www.phpdeveloper.org/news/7298</guid>
      <link>http://www.phpdeveloper.org/news/7298</link>
      <description><![CDATA[<p>
<i>Sean Coates</i> has <a href="http://blog.phpdoc.info/archives/57-PHP-Pie.html">created a simple version</a> of a popular bit of Perl functionality and shares the code in hi slatest post - the "pie" ability to perform a search and replace, line by line, through a file using a regular expression.
</p>
<blockquote>
I've often found myself looking for a PHP equivalent. Not to do simple substitutions, of course, but complex ones. And since I'm most comfortable with PHP, and a I have a huge library of snippets that I can dig out to quell a problem that I may have solved years ago, I've been meaning to fill this void for a while.
</blockquote>
<p>
So, one evening, he came home and hashed out <a href="http://blog.phpdoc.info/archives/57-PHP-Pie.html">this version</a> of the script. He includes the code in the post...it works on the command line and pulls in a file (though STDIN) and loops through the buffered version to perform the regex replace.
</p>]]></description>
      <pubDate>Mon, 19 Feb 2007 08:20:00 -0600</pubDate>
    </item>
  </channel>
</rss>
