<?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"
	>

<channel>
	<title>Regex Guru</title>
	<atom:link href="http://www.regexguru.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.regexguru.com</link>
	<description>Irregular updates on the wonderful world of regular expressions by Jan Goyvaerts, developer of premier regular expression software and web sites</description>
	<pubDate>Fri, 03 Sep 2010 01:40:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>Regex Support Added to The RTL in Delphi XE and C++Builder XE</title>
		<link>http://www.regexguru.com/2010/08/regex-support-added-to-the-rtl-in-delphi-xe-and-cbuilder-xe/</link>
		<comments>http://www.regexguru.com/2010/08/regex-support-added-to-the-rtl-in-delphi-xe-and-cbuilder-xe/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 08:18:48 +0000</pubDate>
		<dc:creator>Jan Goyvaerts</dc:creator>
		
		<category><![CDATA[Regex Libraries]]></category>

		<guid isPermaLink="false">http://www.regexguru.com/?p=112</guid>
		<description><![CDATA[The upcoming releases of Delphi and C++Builder will have regular expression support in the box, based in part on the TPerlRegEx component developed by yours truly.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.micro-isv.asia/2010/08/delphi-xe-is-coming/">Delphi XE and C++Builder XE</a> will ship with regular expression support built right into the runtime library.  The RegularExpressions unit is based on code originally written by Vincent Parrett.  It implements a set of classes (records, actually) that mimics the regex classes in the .NET framework.  That includes the whole set of convenient static methods as well as automatic cleanup when the record goes out of scope.</p>
<p>The RegularExpressions unit uses the RegularExpressionsCore unit to do the heavy lifting.  The RegularExpressionsCore unit is a modified version of the <a href="http://www.regular-expressions.info/delphi.html">PerlRegEx unit</a> developed by yours truly.  This unit defines a single Delphi class called TPerlRegEx that wraps the functionality of the PCRE open source library, with added methods for replacing and splitting.  You can use the RegularExpressionsCore unit directly, just as you can already use the PerlRegEx unit in older versions of Delphi.</p>
<p>Vincent and I donated copies of our code to Embarcadero.  We keep the full rights to our code, while Embarcadero gets full rights to their copy.  That means I can continue to distribute TPerlRegEx for older versions of Delphi.  I&#8217;ll release a new version of TPerlRegEx that includes some changes I made prior to donating the code to Embarcadero.</p>
<p>I&#8217;ll blog about these two units with more technical details once RAD Studio XE ships.  The next free minor updates of <a href="http://www.regexbuddy.com">RegexBuddy</a> and <a href="http://www.regexmagic.com">RegexMagic</a> will support Delphi XE and X++Builder XE using these new units, while retaining support for TPerlRegEx for older versions of Delphi.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.regexguru.com/2010/08/regex-support-added-to-the-rtl-in-delphi-xe-and-cbuilder-xe/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Regulární výrazy—Kuchařka programátora</title>
		<link>http://www.regexguru.com/2010/06/regularni-vyrazy%e2%80%94kucharka-programatora/</link>
		<comments>http://www.regexguru.com/2010/06/regularni-vyrazy%e2%80%94kucharka-programatora/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 05:07:44 +0000</pubDate>
		<dc:creator>Jan Goyvaerts</dc:creator>
		
		<category><![CDATA[Regex Cookbook]]></category>

		<guid isPermaLink="false">http://www.regexguru.com/?p=110</guid>
		<description><![CDATA[Regular Expressions Cookbook is now available in Czech.]]></description>
			<content:encoded><![CDATA[<p>I received my author copy of &#8220;Regulární výrazy—Kuchařka programátora&#8221; last week.  This is the Czech translation of Regular Expressions Cookbook.  You can <a href="http://knihy.cpress.cz/knihy/pocitacova-literatura/programovani/regularni-vyrazy-kucharka-programatora/">buy Regulární výrazy Kuchařka programátora from the publisher cpress.cz</a> or any bookstore that sells Czech language books.  Ask for ISBN 978-80-251-1935-8.</p>
<p>While the Russian, German, and Japanese translations are full translations, the Czech translation is an abridged translation.  It has only 7 chapters compared to 8 with the original English edition.  The last chapter, &#8220;Markup and Data Interchange&#8221;, was omitted.  This chapter has examples on using regular expressions on HTML and XML files and demonstrates some more complex regex techniques.  All the other chapters were translated completely.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.regexguru.com/2010/06/regularni-vyrazy%e2%80%94kucharka-programatora/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Replacement Text Syntax for JavaScript&#8217;s String.replace()</title>
		<link>http://www.regexguru.com/2010/06/replacement-text-syntax-for-javascripts-stringreplace/</link>
		<comments>http://www.regexguru.com/2010/06/replacement-text-syntax-for-javascripts-stringreplace/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 10:16:09 +0000</pubDate>
		<dc:creator>Jan Goyvaerts</dc:creator>
		
		<category><![CDATA[Regex Libraries]]></category>

		<guid isPermaLink="false">http://www.regexguru.com/?p=107</guid>
		<description><![CDATA[List of placeholders such as $1 and $&#038; that you can use in the replacement text of JavaScript's String.replace() function.]]></description>
			<content:encoded><![CDATA[<p>A RegexBuddy user told me that he couldn&#8217;t easily find a detailed explanation of the replacement text syntax supported by the <code>String.replace()</code> function in JavaScript.  I had to admin that my own web page about <a href="http://www.regular-expressions.info/javascript.html">JavaScript&#8217;s regular expression support</a> was also lacking.  I&#8217;ve now added a new <a href="http://www.regular-expressions.info/javascript.html#replace">Replacement Syntax</a> section that has all the details.  I&#8217;ll summarize it here:</p>
<ul>
<li><code>$1</code>: Text matched by the first capturing group or the literal text $1 if the regex has no capturing groups.</li>
<li><code>$99</code>: Text matched by the 99th capturing group if the regex has 99 or more groups.  Text matched by the 9th capturing group followed by a literal 9 if the regex has 9 or more but less than 99 groups.  The literal text $99 if the regex has fewer than 9 groups.</li>
<li><code>$+</code>: Text matched by the highest-numbered capturing group.  Replaced with nothing if the highest-numbered group didn&#8217;t participate in the match.</li>
<li><code>$&#038;</code>: Text matched by the entire regex.  You cannot use <code>$0</code> for this.</li>
<li><code>$`</code> (backtick): Text to the left of the regex match.</li>
<li><code>$'</code> (single quote): Text to the right of the regex match.</li>
<li><code>$_</code>: The entire subject string.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.regexguru.com/2010/06/replacement-text-syntax-for-javascripts-stringreplace/feed/</wfw:commentRss>
		</item>
		<item>
		<title>正規表現クックブック</title>
		<link>http://www.regexguru.com/2010/04/%e6%ad%a3%e8%a6%8f%e8%a1%a8%e7%8f%be%e3%82%af%e3%83%83%e3%82%af%e3%83%96%e3%83%83%e3%82%af/</link>
		<comments>http://www.regexguru.com/2010/04/%e6%ad%a3%e8%a6%8f%e8%a1%a8%e7%8f%be%e3%82%af%e3%83%83%e3%82%af%e3%83%96%e3%83%83%e3%82%af/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 10:36:51 +0000</pubDate>
		<dc:creator>Jan Goyvaerts</dc:creator>
		
		<category><![CDATA[Regex Cookbook]]></category>

		<guid isPermaLink="false">http://www.regexguru.com/?p=104</guid>
		<description><![CDATA[Regular Expressions Cookbook will be published in Japanese as 正規表現クックブック later this month.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just been informed that O&#8217;Reilly will publish the Japanese translation of Regular Expressions Cookbook on 14 April.  The Japanese title is 正規表現クックブック.  You can order 正規表現クックブック from <a href="http://www.oreilly.co.jp/books/9784873114507/">O&#8217;Reilly</a>, <a href="http://www.amazon.co.jp/gp/product/4873114500/">Amazon.co.jp</a> (free shipping in Japan), or wherever Japanese language technical books are sold.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.regexguru.com/2010/04/%e6%ad%a3%e8%a6%8f%e8%a1%a8%e7%8f%be%e3%82%af%e3%83%83%e3%82%af%e3%83%96%e3%83%83%e3%82%af/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
