[译]正则表达式:从菜鸟到大师

Author: Jan Goyvaerts

Publish Date: 2 Feb. 2009

Blog entry: http://www.regexguru.com/2009/02/from-regex-newbie-to-regex-guru/

Translated By: Rex (http://iregex.org)

Rex注:本文是Jan Goyvaerts为自己的著作《Regular Expression Cookbook》写的序言中的一段。

One of my last tasks for the Regular Expression Cookbook was to write the preface, including my author bio. I told the story of how I went from my first real encounter with regular expressions in 2000, to the expert I am almost a decade later.

《Regular Expression Cookbook》即将完工,剩余的工作之一是作序,包括写我的作者小传。我讲述了自己如何在2000年第一次遭遇正则表达式,并在近乎十年之后才成为专家的经历。

Read the rest of this entry »

Regular Expression Cookbook 接受预订

Regex大牛(regexguru)一直在写的一本书《Regular Expression Cookbook》现在可以在Amazon.com, Amazon.co.uk, Amazon.fr, Amazon.de以及其它许多网店预订了。本书有望于2009年5月15日出版,标价US$ 39.99。本文发布时,Amazon.com 提供 34% 的优惠, Amazon.co.uk 提供 10% 的优惠。

本书的最后期限是1月31日,作者在该日期之前提交最后的修改勘误,并将为本书新建网站http://www.regular-expression-cookbook.com/

新闻来源:RegexGuru: Regular Expression Cookbook Available for Pre-Order

[译]从文本中析取有效URL链接

原文作者是Jan Goyvaerts(Regex Guru),原页面链接是Detecting URLs in a Block of Text

翻译者:rex,译者博客(http://iregex.org)。

rex注:URL是Uniform Resource Locator的缩写(wiki),中文叫作统一资源定位符百科),解释如下:Internet上的每一个网页都具有一个唯一的名称标识,通常称之为URL地址,这种地址可以是本地磁盘,也可以是局域网上的某一台计算机,更多的是Internet上的站点。简单地说,URL就是Web地址,俗称“网址”。

Read the rest of this entry »