<?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>我爱正则表达式 &#187; tool</title>
	<atom:link href="http://iregex.org/blog/tag/tool/feed" rel="self" type="application/rss+xml" />
	<link>http://iregex.org</link>
	<description>原创、翻译、转载关于正则表达式的文章</description>
	<lastBuildDate>Sun, 27 Jun 2010 04:20:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/><atom:link rel="hub" href="http://www.feedsky.com/api/RPC2"/><atom:link rel="hub" href="http://blogsearch.google.com/ping/RPC2"/><atom:link rel="hub" href="http://blog.yodao.com/ping/RPC2"/><atom:link rel="hub" href="http://www.feedsky.com/api/RPC2"/><atom:link rel="hub" href="http://www.xianguo.com/xmlrpc/ping.php"/><atom:link rel="hub" href="http://www.zhuaxia.com/rpc/server.php"/><atom:link rel="hub" href="http://rpc.technorati.com/rpc/ping"/><atom:link rel="hub" href="http://rpc.pingomatic.com/"/>	
<!-- Start Of Script Generated By WP-PostViews Plus -->
<script type='text/javascript' src='http://iregex.org/wp-includes/js/jquery/jquery.js?ver=1.4.2'></script>
<script type="text/javascript">
/* <![CDATA[ */
/* ]]> */
</script>
<!-- End Of Script Generated By WP-PostViews Plus -->
	<item>
		<title>PowerGREP3.50完全版下载</title>
		<link>http://iregex.org/blog/powergrep350.html</link>
		<comments>http://iregex.org/blog/powergrep350.html#comments</comments>
		<pubDate>Tue, 23 Dec 2008 14:28:39 +0000</pubDate>
		<dc:creator>rex</dc:creator>
				<category><![CDATA[软件]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[powergrep]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[widnows]]></category>

		<guid isPermaLink="false">http://iregex.org/?p=42</guid>
		<description><![CDATA[之前我爱正则表达式介绍过一款软件PowerGREP，并以留言索取的形式，向大家发放3.3.3版。今天，在热心网友astek的推荐下，rex下载到了PowerGREP的3.50版，这也是迄今为止的最新版。下载地址见文末... ]]></description>
			<content:encoded><![CDATA[<p><img src="http://i293.photobucket.com/albums/mm60/zhasm/powergrep350.jpg" /> </p>
<p>之前<a target="_blank" href="http://iregex.org">我爱正则表达式</a>介绍过一款软件PowerGREP，并以留言索取的形式，向大家发放3.3.3版。今天，在热心网友<strong>astek</strong>的推荐下，rex下载到了PowerGREP的3.50版，这也是迄今为止的最新版。下载地址见文末。</p>
<p>PowerGREP是一款正则式应用软件，它是grep或egrep的增强版，允许您以直观可视、可撤消的方式，在不同的文件夹内，对不同的文件进行批量的文本搜索、替换。当然，是正则表达式层面上的。详细的介绍可参考这篇文章：<a target="_blank" href="http://iregex.org/blog/powergrep.html">windows下的正则式工具介绍之二：powergrep</a>。该篇文章的评论功能已经关闭，如果对该软件有问题，可以在此留言，或集中至正则式中文论坛<a href="http://regex.me">http://regex.me</a>讨论。</p>
<p><span id="more-42"></span></p>
<p>根据官方的<a target="_blank" href="http://www.powergrep.com/history.html">history列表</a>，该版相对于3.3.3版，修复了N多的bugs，提供了许许多多的新特性，大致如下：</p>
<p><strong>3.40的新特性（2007年6月25日）：</strong></p>
<ul>
<li>File Selector: Refresh command that refreshes the list of available drive letters, marks all folders as needing to be globbed again, and immediately updates all expanded folder tree nodes. </li>
<li>Preferences, Encoding: Option to detect encoding based on the HTML Content-Type meta tag. </li>
<li>Preferences, Encoding: Option to preserve the presence/absence of the BOM in Unicode files. </li>
<li>Preferences, File Formats: Extensions of files to be treated as zip archives (*.zip, *.jar, etc.) and files to be treated as zip documents (*.docx, *.xlsx, *.odf, etc.) can now be configured. </li>
<li>Preferences, File Formats: Option to configure the extensions of file masks that determine which conversion filter will be used for which files. </li>
<li>Preferences, File Formats: Option to disable specific conversion filters (PDF, Word, Excel). </li>
<li>Preferences, File Formats: Option to specify a folder where converted PDF, Word and Excel files should be cached, along with a maximum size of the cache. Using the cache speeds up searching through PDF, Word and Excel files that were previously searched through with PowerGREP. The cache is shared between all running instances of PowerGREP. </li>
<li>Regex: Character class subtraction, as supported by XML schema and the .NET framework. </li>
<li>Regex: Free-spacing regex search type and (?x:) free-spacing mode modifier. </li>
<li>Regex: POSIX character classes. </li>
<li>Regex: <tt>\Q..\E</tt> escape sequence for escaping a string of metacharacters. </li>
<li>Regex: <tt>\cA</tt> through <tt>\cZ</tt> ASCII control characters Ctrl+A through Ctrl+Z; equivalent of <tt>\x01</tt> through <tt>\x1A</tt>; can be used inside and outside character classes. </li>
<li>Regex: <tt>\p{Arabic}</tt> through <tt>\p{Yi}</tt> tokens for matching any character in a particular Unicode script; <tt>\p{IsArabic}</tt> syntax also supported. </li>
<li>Regex: <tt>\p{InBasicLatin}</tt> through <tt>\p{InSpecials}</tt> tokens for matching any character in a particular Unicode block; <tt>\p{IsBasicLatin}</tt> and <tt>\p{BasicLatin}</tt> alternatives also supported; BasicLatin can also be written as Basic_Latin, Basic-Latin and Basic Latin. </li>
<li>Results: &quot;Totals&quot; option to show the number of matches per file and the clickable file header on one line. This halves the number of lines needed when not showing match details (e.g. after a &quot;quick execute&quot;), and leaves the total visible when collapsing file nodes. </li>
<li>Results: &quot;Totals&quot; option to show totals both at the top and the bottom. </li>
</ul>
<p><strong>3.42版的新特性（2008年1月18日）：</strong></p>
<ul>
<li>Action: Hexadecimal escapes like \xFF in the replacement text to insert non-printable characters. </li>
<li>Action: Unicode escapes \uFFFF and \x{FFFF} in the replacement text to insert characters that cannot be typed on the keyboard. </li>
<li>Command Line: Search through files found in a previously saved search with /markresults previousresults.pgr. This parameter has the same effect as the Mark Files with Results command in the File Selector menu. </li>
<li>Regex: Forward references (i.e. a backreference to a group defined after it) are now supported. E.g. <tt>(\2two|(one))+</tt> will match <tt>oneonetwo</tt> instead of triggering an error. </li>
<li>Setup: Create Portable Installation directly from the self-extracting setup. The Install on Removable Drive menu item in the Help menu was renamed for consistency. </li>
</ul>
<p><strong>3.50版的改进之处（2008年5月13日）：</strong></p>
<ul>
<li>Conversion manager: PowerGREP will now launch the conversion manager only when it&#8217;s needed, rather than when starting PowerGREP. </li>
<li>File Formats: PowerGREP now sets the file date on files inside compound documents to the same date as the overall document file. </li>
<li>File Selector/Results: Keyboard mnemonics (underlined letters) for the default items in the Edit File submenu. You can assign mnemonics to your custom editors by placing an ampersand before the character you want to use as the mnemonic. E.g. &quot;&amp;My Editor&quot; makes M the mnemonic. </li>
<li>Results, Export: When exporting to HTML, file references that are clickable in PowerGREP are now also clickable in the HTML output. </li>
<li>Results: Use base64Binary instead of hexBinary to save match data into .pgr files, resulting in a 33% size savings for match data. </li>
</ul>
<p>由此可见，其更新是相当多，即使在介面上不是很明显。很值得下载。</p>
<p><a href="http://zhasm.com/downloads#powergrep.3.5" target="_blank">下载地址：深柳堂</a>|<a href="http://www.3ddown.com/soft/19804.htm" target="_blank">精品软件园</a></p>
]]></content:encoded>
			<wfw:commentRss>http://iregex.org/blog/powergrep350.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Windows下的正则表达式工具之五——经典的Regulator</title>
		<link>http://iregex.org/blog/regulator.html</link>
		<comments>http://iregex.org/blog/regulator.html#comments</comments>
		<pubDate>Wed, 17 Dec 2008 15:55:44 +0000</pubDate>
		<dc:creator>rex</dc:creator>
				<category><![CDATA[软件]]></category>
		<category><![CDATA[expresso]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[regexbuddy]]></category>
		<category><![CDATA[regulator]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://iregex.org/?p=40</guid>
		<description><![CDATA[本文介绍的the Regulator 2.0 与上一篇文章介绍的Expresso一样，都是颇有年头的软件：Expresso的最后更新日期似乎是2007年6月30日；the Regulator 2.0的上次更新，更是可追溯到2004年。可是，在没有RegexBudd... ]]></description>
			<content:encoded><![CDATA[<p><img style="border-bottom: rgb(255,255,255) 1px solid; border-left: rgb(255,255,255) 1px solid; margin: 0px 10px 10px; padding-left: 0px; float: right; clear: both; border-top: rgb(255,255,255) 1px solid; border-right: rgb(255,255,255) 1px solid" src="http://i293.photobucket.com/albums/mm60/zhasm/regulator_logo.png"> 本文介绍的the Regulator 2.0 与上一篇文章介绍的<a href="http://iregex.org/blog/expresso.html" title="Expresso|http://iregex.org|我爱正则表达式" target="_blank">Expresso</a>一样，都是颇有年头的软件：Expresso的最后更新日期似乎是2007年6月30日；the Regulator 2.0的上次更新，更是可追溯到2004年。可是，在没有RegexBuddy的日子里，the Regulator 可算是元老呢！MSDN上有篇文章《<a target="_blank" href="http://msdn.microsoft.com/zh-cn/magazine/cc300497(en-us).aspx">Ten Must-Have Tools Every Developer Should Download Now</a>》，介绍了开发者必备的10款工具之一就有the <a href="http://iregex.org/blog/regulator.html" title="Regulator|http://iregex.org|我爱正则表达式" target="_blank">Regulator</a>。作者<a target="_blank" href="http://weblogs.asp.net/rosherove/">Roy Osherove</a>在regulator的帮助文件中说，自己的Regulator的创意就来自于<a href="http://iregex.org/blog/expresso.html" title="Expresso|http://iregex.org|我爱正则表达式" target="_blank">Expresso</a>。</p>
<p><a href="http://iregex.org/blog/regulator.html" title="Regulator|http://iregex.org|我爱正则表达式" target="_blank">Regulator</a>的界面，比<a href="http://iregex.org/blog/expresso.html" title="Expresso|http://iregex.org|我爱正则表达式" target="_blank">Expresso</a>要新潮，与以前介绍过的Mtracer有几分相像。<span id="more-40"></span>看界面：<img src="http://i293.photobucket.com/albums/mm60/zhasm/regulator_main.png" width=540> </p>
<p>与<a href="http://iregex.org/blog/expresso.html" title="Expresso|http://iregex.org|我爱正则表达式" target="_blank">Expresso</a>一样，它同样支持.Net版的正则，支持将正则式导出为VB或C#格式。比起<a href="http://iregex.org/blog/expresso.html" title="Expresso|http://iregex.org|我爱正则表达式" target="_blank">Expresso</a>来，它的亮点之一是正则式部分支持语法高亮显示。</p>
<p><a href="http://iregex.org/blog/regulator.html" title="Regulator|http://iregex.org|我爱正则表达式" target="_blank">Regulator</a>有一个功能是网络搜索，即支持在软件界面上直接搜索regexlib.com上的正则代码库。这原本应该是个很实用的功能。可惜的是，我在多种情况下（代理）试用了该功能，一直不能返回搜索结果。或许是随着时间的迁移，regexlib.com更换了查询输出接口，而<a href="http://iregex.org/blog/regulator.html" title="Regulator|http://iregex.org|我爱正则表达式" target="_blank">Regulator</a>还站在望夫涯上，傻傻地使用原来的方式与regexlib.com通讯，自然接收不到任何反馈。</p>
<p>帮助文件中的搜索结果列表：<br /><img src="http://i293.photobucket.com/albums/mm60/zhasm/regulator_search_old.png"> </p>
<p>这是在我的机器上返回的空列表：<br /><img src="http://i293.photobucket.com/albums/mm60/zhasm/regulator_search.png"> </p>
<p>我登录到作者<a target="_blank" href="http://weblogs.asp.net/rosherove/">Roy Osherove</a>的博客，搜索到他的一些其它正则式项目，例如2006年10月份的<a target="_blank" href="http://weblogs.asp.net/rosherove/archive/2006/10/09/Regulazy-1.0.3-Released.aspx">Realazy</a>（将普通文本转换为正则表达式的小工具，比较傻瓜），2005年11月份的VS2005下的正则式可视化工具（<a target="_blank" href="http://weblogs.asp.net/rosherove/archive/2005/11/26/AnnoucingRegexKit10.aspx">Regular Expression Visualizers for VS 2005</a>），只可惜最近两年没有在正则式方面更新文章或软件。因此该软件估计以后也不会更新了吧。作为一款经典的免费的正则式软件，估计<a href="http://iregex.org/blog/regulator.html" title="Regulator|http://iregex.org|我爱正则表达式" target="_blank">Regulator</a>曾经风光一时；不过，在我接触正则式时起，一直用的就是Regex了。</p>
<p>最近搜集了一大堆网页正则式工具，有时间跟大家分享一下。敬请期待。 </p>
<p>附：the Regulator 2.0 (3.2MB)下载地址：via <a href="http://downloads.sourceforge.net/regulator/Regulator20Bin.zip?modtime=1189740236&#038;big_mirror=0" title="the Regulator|http://iregex.org/|我爱正则表达式">sourceforge</a> | via <a href="http://zhasm.com/downloads#regulator" target="_blank">深柳堂</a></p>
]]></content:encoded>
			<wfw:commentRss>http://iregex.org/blog/regulator.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows下的正则表达式工具之四——强大而免费的Expresso</title>
		<link>http://iregex.org/blog/expresso.html</link>
		<comments>http://iregex.org/blog/expresso.html#comments</comments>
		<pubDate>Sat, 13 Dec 2008 03:43:21 +0000</pubDate>
		<dc:creator>rex</dc:creator>
				<category><![CDATA[软件]]></category>
		<category><![CDATA[expresso]]></category>
		<category><![CDATA[regexbuddy]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://iregex.org/?p=39</guid>
		<description><![CDATA[曾经沧海难为水，除却巫山不是云。用过了RegexBuddy，再用其它的正则式辅助软件，总有些不习惯。然而本人幸好不是固步自封之辈，任何时候都勇于尝试新工具，体验新特征。这不，最近知道... ]]></description>
			<content:encoded><![CDATA[<p><img style="border-bottom: rgb(255,255,255) 1px solid; border-left: rgb(255,255,255) 1px solid; margin: 0px 10px 10px; padding-left: 0px; float: right; clear: both; border-top: rgb(255,255,255) 1px solid; border-right: rgb(255,255,255) 1px solid" alt="Expresso|http://iregex.org|我爱正则表达式" src="http://i293.photobucket.com/albums/mm60/zhasm/expresso.png" /> 曾经沧海难为水，除却巫山不是云。用过了<a title="regexbuddy" target="_blank" href="http://iregex.org/blog/regexbuddy.html">RegexBuddy</a>，再用其它的正则式辅助软件，总有些不习惯。然而本人幸好不是固步自封之辈，任何时候都勇于尝试新工具，体验新特征。这不，最近知道了<a href="http://iregex.org/blog/expresso.html" target="_blank" title="Expresso|http://iregex.org|我爱正则表达式">Expresso</a>，第一时间就想体验一把，将感受写在这里。</p>
<p><span id="more-39"></span></p>
<p>首先说一下对<a href="http://iregex.org/blog/expresso.html" target="_blank" title="Expresso|http://iregex.org|我爱正则表达式">Expresso</a>的印象。该软件理所应当支持了许多正则式功能，包括匹配、替换、分隔、分析，等等。不过，<a href="http://iregex.org/blog/expresso.html" target="_blank" title="Expresso|http://iregex.org|我爱正则表达式">Expresso</a>是以.Net为基础的，因此其正则式是.Net风格的。（《<a href="http://iregex.org/blog/mastering-regular-expressions-3rd-pdf-ebook-download.html" title="精通正则表达式第三版|http://iregex.org|我爱正则表达式" target="_blank">精通正则表达式第三版</a>》里，第9章整整一章是讲.Net正则表达式的；在《<a href="http://iregex.org/blog/regular-expression-pocket-reference.html" title="Regular Expression Pocket Reference|http://iregex.org|我爱正则表达式">Regular Expression Pocket Reference</a>》里，同样也有一章，列出了.Net/C#正则表达式的风格列表。）<a href="http://iregex.org/blog/expresso.html" target="_blank" title="Expresso|http://iregex.org|我爱正则表达式">Expresso</a>只支持将正则式导出为.Net的C#/Visual Basic/C++/CLI语言格式。比起RegexBuddy丰富的字符串风格、多语法风格，<a href="http://iregex.org/blog/expresso.html" target="_blank" title="Expresso|http://iregex.org|我爱正则表达式">Expresso</a>显得有些简陋。<a href="http://iregex.org/blog/expresso.html" target="_blank" title="Expresso|http://iregex.org|我爱正则表达式">Expresso</a>不支持语法高亮，或许是作者不喜欢使用richedit之故？无论匹配与否，输出框里全是一色的黑白色，着实有些乏味。<img src="http://i293.photobucket.com/albums/mm60/zhasm/expresso_testmode.png" width=540/> </p>
<p>不过，<a href="http://iregex.org/blog/expresso.html" target="_blank" title="Expresso|http://iregex.org|我爱正则表达式">Expresso</a>也并非毫无亮点。</p>
<ul>
<li>支持特殊字符：它支持在正则表达式中插入各种稀奇古怪的字符，当然，我这里指得的是有图形面板的支持，好让你知道你是在做什么。 </li>
<li>捕获：允许使用多种风格的捕获，包括命名捕获。没办法，这是.Net的特性。 </li>
<li>控制字符：它支持在正则表达式中插入多种控制字符，包括响铃(bell \a)、new line、vertical tab&#8230;&#8230; </li>
<li>排除匹配(Exclude Match)：即允许你选定一部分正则表达式，从而在匹配时略过该段正则式，就像它不存在一样。我觉得这一特性很实用，尤其是在调试时，你不必先删除再比较，只需将其选定即可。 <img src="http://i293.photobucket.com/albums/mm60/zhasm/expresso_designmode.png" width=540/> </li>
<li>批量验证(Validate)。你可以写一条正则式(Email、URL、变量名，等等)，然后将一大堆待验证的文本行贴至输入栏，检验其是否合法。 </li>
<li>语法分析树：它的语法分析树也很有意思。虽然也是黑白色的，但是层次很清晰。 </li>
<li>实用的可扩展的<strong>正则式锦囊</strong>(expression library)。 <img src="http://i293.photobucket.com/albums/mm60/zhasm/expresso_library.png" width=540/> </li>
<li>测试计时(Timing Tests)很有用的特性，帮助你测试单次匹配时间，以及多次匹配时间。<img src="http://i293.photobucket.com/albums/mm60/zhasm/expresso_timing_tests.png" /> </li>
<li>将正则表达式编译到文件中。或许对有特定需要的人有用吧。我从未使用C++/C#编写过需要正则表达式的程序，也没想到在程序中调用含有正则表达式的dll文件，因此该功能对我用处不大。 </li>
<li>它是<strong>免费</strong>的！虽然它需要注册，但是注册不需花钱，只需要按照提示，给作者发一封邮件即可，将你的全名告诉作者，你就会收到一封自动回复的Email，包括你的全名和以此生成的注册码。作者的本意其实是想统计一下，究竟有多少人在使用自己的软件。 </li>
</ul>
<h2 style="background-color:#99CC00; font-size:14px; padding-bottom:3px; padding-left:10px; padding-top:3px;  line-height:1.5em; margin:1.5em 0 1em;">相关链接</h2>
<ul>
<li><a title="Expresso官方网站|http://iregex.org|我爱正则表达式" href="http://www.ultrapico.com/">Expresso官方网站http://www.ultrapico.com/</a> </li>
<li><a title="Expresso|http://iregex.org|我爱正则表达式" target="_blank" href="http://www.ultrapico.com/App/Register.aspx" rel="nofollow">注册地址</a></li>
<li><a title="Expresso|http://iregex.org|我爱正则表达式" target="_blank" href="http://www.ultrapico.com/ExpressoSetup3.msi" rel="nofollow">ExpressoSetup3.0</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://iregex.org/blog/expresso.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>windows下的正则式工具介绍之三：MTracer2.0介绍以及与RegexBuddy比较</title>
		<link>http://iregex.org/blog/mtracer-vs-regexbuddy.html</link>
		<comments>http://iregex.org/blog/mtracer-vs-regexbuddy.html#comments</comments>
		<pubDate>Tue, 16 Sep 2008 03:29:13 +0000</pubDate>
		<dc:creator>rex</dc:creator>
				<category><![CDATA[软件]]></category>
		<category><![CDATA[chinese]]></category>
		<category><![CDATA[mtracer]]></category>
		<category><![CDATA[powergrep]]></category>
		<category><![CDATA[regexbuddy]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://iregex.org/?p=32</guid>
		<description><![CDATA[RegexBuddy和PowerGrep是我在windows下常用的两款正则式工具。前者是帮助编写正则式的辅助工具，后者是进行批量搜索替换的实用工具。这两款软件都是外国人写的。今天介绍国人史寿伟先生写的一... ]]></description>
			<content:encoded><![CDATA[<p><img style="border-bottom: rgb(255,255,255) 1px solid; border-left: rgb(255,255,255) 1px solid; margin: 0px 10px 10px; padding-left: 0px; float: right; clear: both; border-top: rgb(255,255,255) 1px solid; border-right: rgb(255,255,255) 1px solid" src="http://www.regexlab.com/images/logo_s.gif" />RegexBuddy和PowerGrep是我在windows下常用的两款正则式工具。前者是帮助编写正则式的辅助工具，后者是进行批量搜索替换的实用工具。这两款软件都是外国人写的。今天介绍国人<a target="_blank" href="http://www.softreg.com.cn/Search.aspx?t=authorid&amp;v=/efff07ff-b552-4034-8860-1964f285c4fc/">史寿伟先生</a>写的一款正则式工具，MTracer 2.0。 </p>
<p><span id="more-32"></span></p>
<p>&#160;</p>
<h2 style="background-color:#99CC00; font-size:14px; padding-bottom:3px; padding-left:10px; padding-top:3px;  line-height:1.5em; margin:1.5em 0 1em;">MTracer 2.0软件版本</h2>
<p>MTracer2.0全名是RegexMatchTracer，官方主页在regexlab.com。上面说最近更新日期是2007.10.07，不过，从我今天下载的程序的修改日期来看，是2008.09.13。变化是，之前作者提供的是绿色的程序，现在提供的是msi的安装包。 本文以下提到MTracer时，若无特殊说明，均指MTracer2.0。</p>
<p>&#160;</p>
<h2 style="background-color:#99CC00; font-size:14px; padding-bottom:3px; padding-left:10px; padding-top:3px;  line-height:1.5em; margin:1.5em 0 1em;">MTracer软件特性</h2>
<p><img style="border-bottom: rgb(255,255,255) 1px solid; border-left: rgb(255,255,255) 1px solid; margin: 0px 10px 10px; padding-left: 0px; float: right; clear: both; border-top: rgb(255,255,255) 1px solid; border-right: rgb(255,255,255) 1px solid" src="http://i3.6.cn/cvbnm/61/db/85/73daa684cce5f9fe1d6f327aa5d5502c.jpg" />作为一款正则表达式撰写辅助程序，它拥有查找匹配、替换模式、分割模式，可以分别进行相应操作。前两种用的比较多，各种语言或正则式工具都有相应语句或函数来实现；第三种<strong>分割模式</strong>是指<strong>使用正则表达式来描述字符串的分割符，以便将字串分割成子串数组。</strong>举个简单的例子来说，可以使用正则式<tt class="regex">\d+;?</tt>将<tt class="string">abcd12;sdf55656asdfasd82asd33x</tt>字串分割成子串数组：</p>
<ul>
<li>abcd </li>
<li>sdf </li>
<li>asdfasd </li>
<li>asd </li>
<li>x </li>
</ul>
<p>在实际操作时，你总会遇到使用分割模式才能最有效率地解决的问题。</p>
<p><img style="border-bottom: rgb(255,255,255) 1px solid; border-left: rgb(255,255,255) 1px solid; margin: 0px 10px 10px; padding-left: 0px; float: right; clear: both; border-top: rgb(255,255,255) 1px solid; border-right: rgb(255,255,255) 1px solid" src="http://i3.6.cn/cvbnm/df/9f/96/cfd4162eebd15ed35237a49bf94b82ae.jpg" /> 除了一般的选项（忽略大小写、单行\多行、全局），它提供了从右向左、扩展模式两种匹配选项。</p>
<p><strong>从右向左</strong>：平时查找字串最右边的正则式匹配，可以借助于<tt class="regex">?</tt>和<tt class="regex">$</tt>来定位。而在MTracer下，这款比较令人耳目一新的选项十分好玩，虽然我还没有在实际操作时遇到过确需此选项的例子。</p>
<p><strong>扩展模式</strong>：包括如下选项：</p>
<ul>
<li>注释 <tt class="regex">(?#xxx)</tt>：在正则式中加入注释以便提高可读性； </li>
<li>模式修改符 <tt class="regex">(?ismg-ismg)</tt>：小范围内修改匹配模式； </li>
<li>非捕获组 <tt class="regex">(?:xxx)</tt>：匹配而不捕获，便于计数，同时还可以节省内存，提高效率（根据《精通正则表达式》的说法）； </li>
<li>预搜索（零宽度断言）：十分有用的匹配选项，<strong>只匹配位置，而不消耗字符</strong>；有四种模式，详见<a target="_blank" href="http://www.mediafire.com/?ugf3z8tklbl">手册</a>； </li>
<li>独立表达式 <tt class="regex">(?&gt;pattern)</tt>：此选项在《精通正则表达式》中，被余晟先生翻译为&#8220;固化分组&#8221;，即无论匹配成功与否，内部都不进行回退，都不会再次尝试匹配； </li>
<li>条件表达式<tt class="regex">(?(x)y|z)</tt>：与C语言的三目操作符类似，x条件为真则进行y匹配，否则进行z匹配。其中x部分有四种模式，详见<a target="_blank" href="http://www.mediafire.com/?ugf3z8tklbl">手册</a>； </li>
<li>递归表达式 <tt class="regex">(?R)</tt>：对另一部分子表达式的引用，而不是对其匹配结果的引用。当被引用的表达式包含自身，则形成递归引用。 </li>
</ul>
<p>个人比较常用的选项是非捕获组和预搜索。</p>
<p>&#160;</p>
<h2 style="background-color:#99CC00; font-size:14px; padding-bottom:3px; padding-left:10px; padding-top:3px;  line-height:1.5em; margin:1.5em 0 1em;">MTracer最有用的特性</h2>
<p><img style="border-bottom: rgb(255,255,255) 1px solid; border-left: rgb(255,255,255) 1px solid; margin: 0px 10px 10px; padding-left: 0px; float: right; clear: both; border-top: rgb(255,255,255) 1px solid; border-right: rgb(255,255,255) 1px solid" src="http://i3.6.cn/cvbnm/1c/a8/f0/2fed4bd2ff41a771aecc1558210c5442.jpg" /> 相对于另一款正则式撰写辅助程序RegexBuddy而言，MTracer最有用的特性是中文的正则式分析树。虽然RegexBuddy也有此功能，但是MTracer的正则式分析树是中文的。这对于需要此功能但是不愿意使用英文软件的用户来说非常方便。对于初学者也很有帮助。</p>
<p>值得说明的是，正则式的中文术语在中文里还没有形成统一的规范。以我自身的阅读经历而言，似可分为两类：何伟平译的《Perl Programming》第三版中大量使用的正则式术语译法为第一套方案，余晟先生译的《精通正则表达式》第三版中使用的正则表达式为第二套。个人倾向于第二套。</p>
<p>MTracer使用的正则表达式术语，与这两套术语均有相异之处。</p>
<p>如果有人使用上述第二套术语将RegexBuddy汉化的话，估计在中国的普及率会大幅提高。题外话。</p>
<p>&#160;</p>
<h2 style="background-color:#99CC00; font-size:14px; padding-bottom:3px; padding-left:10px; padding-top:3px;  line-height:1.5em; margin:1.5em 0 1em;">&#160;</h2>
<h2 style="background-color:#99CC00; font-size:14px; padding-bottom:3px; padding-left:10px; padding-top:3px;  line-height:1.5em; margin:1.5em 0 1em;">与RegexBuddy的简单比较</h2>
<p>还是列表说明吧。</p>
<table border="1" cellspacing="1" cellpadding="2" width="401">
<tbody>
<tr>
<td width="105" align="center"><strong>属性</strong></td>
<td width="132" align="center"><strong>MTracer</strong></td>
<td width="158" align="center"><strong>RegexBuddy</strong></td>
</tr>
<tr>
<td width="103">界面语言</td>
<td width="132">中文</td>
<td width="159">英文</td>
</tr>
<tr>
<td width="102">大小</td>
<td width="132">471kb</td>
<td width="160">9.1 MB</td>
</tr>
<tr>
<td width="103">价格(单用户)</td>
<td width="131">个人RMB49.00<br />
        <br />公司RMB298.00</td>
<td width="160">US$ 39.95</td>
</tr>
<tr>
<td width="103">免费版的限制</td>
<td width="131">正则式长度限制</td>
<td width="160">7天免费使用时间</td>
</tr>
<tr>
<td width="103">帮助文件</td>
<td width="131">原来版本有，最新的msi版已经不带帮助文件；需要的话可以下载本站上传的<a target="_blank" href="http://www.mediafire.com/?ugf3z8tklbl">手册</a>。</td>
<td width="160">齐全。包括4本电子书，其中3本是关于正则表达式的教程、参考手册，1本是RegexBuddy的操作手册。十分翔实。语言是英文。</td>
</tr>
<tr>
<td width="103">匹配模式</td>
<td width="131">
<ol>
<li>匹配 </li>
<li>替换 </li>
<li>分割 </li>
</ol>
</td>
<td width="160">
<ol>
<li>匹配 </li>
<li>替换 </li>
<li>分割 </li>
</ol>
</td>
</tr>
<tr>
<td width="103">匹配选项</td>
<td width="131">
<ol>
<li>忽略大小写（开关） </li>
<li>单行、多行 </li>
<li>全局局部可选 </li>
<li>从右至左 </li>
<li>扩展模式（详见上文） </li>
</ol>
</td>
<td width="160">
<ol>
<li>忽略大小写 （开关） </li>
<li>单行、多行 </li>
<li>默认全局 </li>
<li>点号匹配新行 </li>
<li>^$匹配换行符 </li>
<li>空白字符宽松模式 </li>
<li>扩展模式（依语言而定） </li>
</ol>
</td>
</tr>
<tr>
<td width="103">历史功能</td>
<td width="131">&#8220;文本片断&#8221;即是</td>
<td width="160">History</td>
</tr>
<tr>
<td width="103">导出字串为指定语言</td>
<td width="131">
<ol>
<li>原状导出 </li>
<li>Visual Basic </li>
<li>C/C++ </li>
</ol>
</td>
<td width="160">
<ol>
<li>原状导出 </li>
<li>C/C# </li>
<li>Perl(m//或s///格式) </li>
<li>Basic </li>
<li>Java </li>
<li>JavaScript </li>
<li>Pascal </li>
<li>PHP (//) </li>
<li>PostgreSQL </li>
<li>Python </li>
<li>Ruby </li>
<li>SQL </li>
<li>Tcl </li>
<li>XML </li>
<li><strong>还包含在上述语言中如何调用该正则式的模块，功能强大、有用、好用。（Use）</strong> </li>
</ol>
</td>
</tr>
<tr>
<td width="103">常用正则库</td>
<td width="131">帮助文件中有提及</td>
<td width="160">程序中包含该功能，有定义、例代码、匹配实例。<br />
        <br />帮助文件中也有。</td>
</tr>
<tr>
<td width="103">扩展性</td>
<td width="131">支持插件（疑安装目录下的stdplgin.dll是其插件，功能不详。）</td>
<td width="160">与PowerGrep相关联。</td>
</tr>
<tr>
<td width="103">帮助论坛</td>
<td width="131">开放，地址<a target="_blank" href="http://www.regexlab.com/zh/discuss/forum.aspx?b=1">在此</a></td>
<td width="160">仅对付费注册软件的用户开放。</td>
</tr>
<tr>
<td width="103">界面高度可定制</td>
<td width="132">不支持</td>
<td width="161">支持</td>
</tr>
<tr>
<td width="103">是否支持批量替换外部文件</td>
<td width="132">不支持</td>
<td width="161">支持</td>
</tr>
</tbody>
</table>
<p>当然，没有提到的功能、细节还不少，这里仅仅是列出本人关注的属性。</p>
<p>&#160;</p>
<h2 style="background-color:#99CC00; font-size:14px; padding-bottom:3px; padding-left:10px; padding-top:3px;  line-height:1.5em; margin:1.5em 0 1em;">MTracer 2.0注册</h2>
<p>付出劳动，换来报酬，是当今任何行业都认可的规则。MTracer需要注册费，这一点也十分正常。其价格是48元人民币。比起US$ 39.95的RegexBuddy来，可谓性价比极高。</p>
<p><img style="border-bottom: rgb(255,255,255) 1px solid; border-left: rgb(255,255,255) 1px solid; margin: 0px 10px 10px; padding-left: 0px; float: right; clear: both; border-top: rgb(255,255,255) 1px solid; border-right: rgb(255,255,255) 1px solid" src="http://i3.6.cn/cvbnm/a7/08/a1/f3e2daa8f96c1c47d4b08ef7a6c14224.jpg" /> </p>
<p>如果不注册，会有什么限制呢？请看图。哦，是有100个字符的限制。</p>
<p><img style="border-bottom: rgb(255,255,255) 1px solid; border-left: rgb(255,255,255) 1px solid; margin: 0px 10px 10px; padding-left: 0px; float: right; clear: both; border-top: rgb(255,255,255) 1px solid; border-right: rgb(255,255,255) 1px solid" src="http://i3.6.cn/cvbnm/4c/d6/e2/5dcb18e7a4610987954ee363624a3584.jpg" /> 这是注册后的图。</p>
<p>对于未注册版本，平时写一些短小的正则式，是没有问题的。如果想无限制地使用该程序，花48元支持一下国产程序，何乐而不为？</p>
<p>现在无论主动还是被动，版权意识都在深入人心。这也是本人一直没有把完全版的RegexBuddy和PowerGrep的下载链接贴到blog上、而是采取来Email索取的原因之一。</p>
<p><img style="border-bottom: rgb(255,255,255) 1px solid; border-left: rgb(255,255,255) 1px solid; margin: 0px 10px 10px; padding-left: 0px; float: right; clear: both; border-top: rgb(255,255,255) 1px solid; border-right: rgb(255,255,255) 1px solid" src="http://i3.6.cn/cvbnm/06/e9/0d/fe543fab025def9627a7f1a4df30f354.jpg" /> MTracer2.0采用注册号的方式注册。看来作者深知在国内破解成风，于是很幽默地添加了这样一则菜单选项：如何8小时破解本软件？呵呵。8小时我们可以做许多事情，没有必要浪费在track、debug、crack上。你的时间很值钱的。</p>
<p>这两款软件的完全版我这里都有，如果需要RegexBuddy的话，请占击链接留下信箱索取即可；但是MTracer的话就<strong>不要</strong>索取了。</p>
<p>&#160;</p>
<h2 style="background-color:#99CC00; font-size:14px; padding-bottom:3px; padding-left:10px; padding-top:3px;  line-height:1.5em; margin:1.5em 0 1em;">相关阅读</h2>
<h3 style="color: #127ADB; font-size:14px; padding-bottom:3px; padding-top:3px; margin:1.5em 0 1em;"><a href="http://iregex.org/blog/regexbuddy.html">windows下的正则式工具介绍之一：RegexBuddy</a></h4>
<h3 style="color: #127ADB; font-size:14px; padding-bottom:3px; padding-top:3px; margin:1.5em 0 1em;"><a href="http://iregex.org/blog/powergrep.html">windows下的正则式工具介绍之二：powergrep</a></h4>
]]></content:encoded>
			<wfw:commentRss>http://iregex.org/blog/mtracer-vs-regexbuddy.html/feed</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>windows下的正则式工具介绍之一：RegexBuddy</title>
		<link>http://iregex.org/blog/regexbuddy.html</link>
		<comments>http://iregex.org/blog/regexbuddy.html#comments</comments>
		<pubDate>Wed, 30 Apr 2008 13:00:36 +0000</pubDate>
		<dc:creator>rex</dc:creator>
				<category><![CDATA[软件]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[regexbuddy]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://iregex.org/?p=4</guid>
		<description><![CDATA[俗话说，工欲善其事，必先利其器。关于windows下的正则表达式工具，这里推荐的是：RegexBuddy和PowerGREP。在linux下，也有好用的正则表达式工具，例如grep的兄弟们，只不过是都是基于命令行的。... ]]></description>
			<content:encoded><![CDATA[<p><img src="http://pic.yupoo.com/zhasm/3885757ba973/wuaoza0w.jpg" alt="RegexBuddy" style="border: 1px solid rgb(255, 255, 255); margin: 0px 10px 10px; clear: both; padding-left: 0px; float: right;"/>
<p>俗话说，工欲善其事，必先利其器。关于windows下的正则表达式工具，这里推荐的是：RegexBuddy和PowerGREP。在linux下，也有好用的正则表达式工具，例如grep的兄弟们，只不过是都是基于命令行的。而这两款windows下的小工具，其突出特点是可视化，允许尝试和预览，极大地方便了使用者。</p>
<p>RegexBuddy：网址是<a href="http://www.regexbuddy.com">http://www.regexbuddy.com</a>。在编写正则式时，它提供可视化的支持、提示、调试方面的便利；在使用正则表达式时，它无私地将正则式转换为多种语言的字串，还提供了代码输出功能。正则式助手，该称号名副其实。</p>
<h3 style="color: #127ADB; font-size:14px; padding-bottom:3px; padding-top:3px; margin:1.5em 0 1em;"><strong>基本界面</strong></h3>
<p>正则式的基本功能无外乎搜索和替换。在本文中，我们使用匹配Email的正则式，代码如下：</p>
<div class="codecolorer-container perl mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="perl codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0000ff;">\b</span><span style="color: #009900;">&#91;</span>A<span style="color: #339933;">-</span>Z0<span style="color: #339933;">-</span><span style="color: #cc66cc;">9</span><span style="color: #339933;">.</span>_<span style="color: #339933;">%-</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">+@</span><span style="color: #009900;">&#91;</span>A<span style="color: #339933;">-</span>Z0<span style="color: #339933;">-</span><span style="color: #cc66cc;">9</span><span style="color: #339933;">.-</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">+</span>\<span style="color: #339933;">.</span><span style="color: #009900;">&#91;</span>A<span style="color: #339933;">-</span>Z<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#123;</span><span style="color: #cc66cc;">2</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">4</span><span style="color: #009900;">&#125;</span><span style="color: #0000ff;">\b</span></div></td></tr></tbody></table></div>
<p>此时，RegexBuddy的界面如图：</p>
<p><a href="http://pic.yupoo.com/zhasm/9681657ba942/uzya6kg4.jpg"><img alt="regex001" style="border: 1px solid rgb(255, 255, 255); margin: 0px 10px 10px; clear: both; padding-left: 0px;" src="http://pic.yupoo.com/zhasm/9681657ba942/uzya6kg4.jpg" /></a></p>
<p>在点击“Explain Token”时，能对当前的正则式片断的作用作出详细解释，例如当你把光标移动到\b上再点击Explain Token，就会激活帮助文档，自动定位到Word Boundaries这一段。</p>
<p>如果想对刚才编写的这条正则式进行测试和验证，可以点击“Test”进行测试。这时，在下边的文本框输入所需要匹配测试的文字，例如<a href="mailto:dog@animals.com">dog@animals.com</a>，匹配结果就以黄色背景色标出。在本例中，你<strong>或许</strong>没有得到正确的匹配，呵呵，那是正常的。为什么？答案见文章结尾。</p>
<p><a ><img style="border-width: 0px;" alt="regex002" src="http://pic.yupoo.com/zhasm/2819757ba934/9pearuh0.jpg" border="0" /></a> </p>
<h3 style="color: #127ADB; font-size:14px; padding-bottom:3px; padding-top:3px; margin:1.5em 0 1em;"><strong>拷贝粘贴</strong></h3>
<p>RegexBuddy能把正则式以多种字符串格式拷贝出来。还是刚才那条正则式，根据需要，它可以被拷贝为：</p>
<div class="codecolorer-container perl mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="perl codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #ff0000;">'<span style="color: #000099; font-weight: bold;">\\</span>b[A-Z0-9._%-]+@[A-Z0-9.-]+<span style="color: #000099; font-weight: bold;">\\</span>.[A-Z]{2,4}<span style="color: #000099; font-weight: bold;">\\</span>b'</span><br />
<span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\\</span>b[A-Z0-9._%-]+@[A-Z0-9.-]+<span style="color: #000099; font-weight: bold;">\\</span>.[A-Z]{2,4}<span style="color: #000099; font-weight: bold;">\\</span>b&quot;</span><br />
<span style="color: #ff0000;">'/<span style="color: #000099; font-weight: bold;">\\</span>b[A-Z0-9._%-]+@[A-Z0-9.-]+<span style="color: #000099; font-weight: bold;">\\</span>.[A-Z]{2,4}<span style="color: #000099; font-weight: bold;">\\</span>b/i'</span></div></td></tr></tbody></table></div>
<p>具体的选项在copy菜单里，如下图所示。你不必为单双引号、正反斜线操心了。</p>
<p><a ><img style="border-width: 0px;" alt="regex004_menu" src="http://pic.yupoo.com/zhasm/6904857ba938/2pcui8hm.jpg" border="0" /></a> </p>
<p>在paste菜单项中也有类似应用，不赘述。</p>
<h3 style="color: #127ADB; font-size:14px; padding-bottom:3px; padding-top:3px; margin:1.5em 0 1em;"><strong>正则式-&gt;代码</strong></h3>
<p>如果你想把刚才编写好的正则式应用在程序中，这里还有一个选项：Use，界面见下图：</p>
<p><a ><img style="border-width: 0px;" alt="regex004_use" src="http://pic.yupoo.com/zhasm/6628557ba93a/0jdp087e.jpg" border="0" /></a> </p>
<p>在上面的match和replace之间点击，其代码也相应自动调整；当选取不同的language时，代码也会相应调整。它支持的语言格式为：</p>
<ul>
<li>C# </li>
<li>Delphi(NET/Win32) </li>
<li>Java/JavaScript/ECMAScript </li>
<li>PCRE </li>
<li>PHP </li>
<li>Perl </li>
<li>Python </li>
<li>RealBasic </li>
<li>Ruby </li>
<li>VB </li>
</ul>
<p>另外，它还有function选项，分别用以实现下述功能：</p>
<ul>
<li>If/else branch whethe the regex matches (part of) a string. If/else验证正则式是否匹配字串（的一部分）。 最常用的功能。 </li>
<li>If/else branch whethe the regex matches a string entirely. If/else验证正则式是否匹配整条字串。 </li>
<li>Get the part of a string matched by the regex. 取得字串中与正则式匹配的部分。Get the part of a string matched by a capturing group. 取得字串中所匹配的捕获组。这一条我也是刚刚知道，很有用哟。 </li>
<li>Get an array of all regex matches in a string.将字串中所有的匹配保存到数组中。 </li>
<li>Iterate over all matches in a string。列出字串中所有的匹配项。（例如，在使用正则式&#8217;\w&#8217;来匹配字串&#8217;abc&#8217;时，本function列出的内容为&#8217;a',&#8217;b',&#8217;c&#8217;.）。单词iterate的含义是<strong>重复</strong>。 </li>
<li>Comment with RegexBuddy&#8217;s regex tree. RegexBuddy的正则树的注释。 </li>
</ul>
<h3 style="color: #127ADB; font-size:14px; padding-bottom:3px; padding-top:3px; margin:1.5em 0 1em;"><strong>文本分割split</strong></h3>
<p>如果需要处理的文本是以某种分隔符隔开的，而该种分隔符恰好又能使用正则式描述，（例如html标签），此时regexbuddy的split功能就可以大显身手了。我随便打开了一个饭否<a target="_blank" href="chrome://performancing/content/scribefire.xul">网页</a>，对其源代码中的消息部分（&lt;<span class="start-tag">div</span><span class="attribute-name"> id</span>=<span class="attribute-value">&#8220;stream&#8221;&gt;与&lt;/div&gt;之内）的文本进行了处理，使用如下正则式删除了所有的尖括号内容，只留下普通文本。</span></p>
<p><span class="attribute-value">使用的正则式为：</span></p>
<div class="codecolorer-container perl mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="perl codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">&lt;</span><span style="color: #009900;">&#91;</span><span style="color: #339933;">^&gt;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">+&gt;</span></div></td></tr></tbody></table></div>
<p>软件界面以及运行结果请见下图。</p>
<p><a href="http://pic.yupoo.com/zhasm/9841057be0c7/3b26meug.jpg" target="_blank"><img style="max-width: 460px;" src="http://pic.yupoo.com/zhasm/9841057be0c7/3b26meug.jpg" /></a><br />
<span class="attribute-value"></span></p>
<p><span class="attribute-value"><br />
</span></p>
<h3 style="color: #127ADB; font-size:14px; padding-bottom:3px; padding-top:3px; margin:1.5em 0 1em;"><strong>结尾：</strong></h3>
<p>关于本文开头提出的小问题，细心的你或许一下子就能看出答案了！见下图：</p>
<p><a ><img style="border-width: 0px;" alt="regex003" src="http://pic.yupoo.com/zhasm/5647357ba935/xttivqqp.jpg" border="0" /></a> </p>
<p>只要选中Case insensitive选项中OK啦！如果你没有找到，或许是因为该软件是英文的，一时间您没有注意到该选项；或者您对正则式还不太熟悉。</p>
<h3 style="color: #127ADB; font-size:14px; padding-bottom:3px; padding-top:3px; margin:1.5em 0 1em;"><strong>软件下载</strong></h3>
<p>上文已经提到，其官网为<a href="http://www.regexbuddy.com">www.regexbuddy.com</a>，可以去下载其最新版试用。<strong>该软件为商业软件</strong>。
<ul>
<li>如果你偶然路过，尝新而已，那只需<a href="http://www.regexbuddy.com/download.html">下载试用版</a>即可；</li>
<li>如果你觉得好用、准备常用、手有余钱、非正版不用，不妨<a href="http://www.regexbuddy.com/buynow.html">花美金购买</a>；</li>
<li>如果你喜欢它，同时你认为优秀的网络资源是应该和朋友免费分享的，从而想获得该软件的全功能免费版，好吧，我也成全你，请在本文后留言（附邮箱），我会把这个小东西的链接发给你(最新版为3.1.1，我手头的全功能版为3.1.0，也足够用了)。</li>
</ul>
<p>下篇文章将要介绍另一款regex工具：PowerGREP，敬请期待。</p>
<p>本文为rex.zhasm原创，原文地址在http://iregex.org/blog/y2008/m04/d30/regexbuddyregexbuddy.html，可以在遵循CC协议的条件下转载。</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
<strong>2008.12.26 更新：</strong><br />
本文已经关闭评论，即将发布3.2.0完全版。不会晚于2008.12.28。敬请期待。<br />
<strong>2008.12.28 更新：</strong><br />
请移步至此下载<a href="http://iregex.org/blog/regexbuddy320.html">RegexBuddy 3.2.0</a>版。</p>
]]></content:encoded>
			<wfw:commentRss>http://iregex.org/blog/regexbuddy.html/feed</wfw:commentRss>
		<slash:comments>100</slash:comments>
		</item>
	</channel>
</rss>
