Regex Guru

Friday, 6 November 2009

TPerlRegEx.CleanUp() Bugfix

Filed under: Regex Trouble — Jan Goyvaerts @ 16:28

A bug in recent versions of TPerlRegEx caused it to crash when reusing a TPerlRegEx instance with another regular expression because two pointers weren’t set to nil after freeing them.

Thursday, 8 October 2009

TPerlRegEx for Delphi 2010

Filed under: Regex Libraries — Jan Goyvaerts @ 15:20

Delphi 2010 fixes the bug that caused internal errors when linking in the PCRE OBJ files if TPerlRegEx is installed into a design time package. The latest TPerlRegEx uses the OBJ files by default for Delphi 2010, and the DLL for earlier versions.

Tuesday, 18 August 2009

Regular Expressions Cookbook on Safari Books Online

Filed under: Regex Cookbook — Jan Goyvaerts @ 14:32

Regular Expressions Cookbook is can be read online if you have a Safari Books Online subscription.

Monday, 17 August 2009

Kindle Edition of Regular Expressions Cookbook

Filed under: Regex Cookbook — Jan Goyvaerts @ 14:31

Amazon.com now sells a Kindle edition of Regular Expressions Cookbook, which you can read on your Kindle, iPhone, or iPod Touch.

Wednesday, 12 August 2009

Updated PCRE DLL for TPerlRegEx

Filed under: Regex Libraries — Jan Goyvaerts @ 16:44

TPerlRegEx was updated to fix a crash bug when freeing the component when compiling it with the DLL.

Monday, 27 July 2009

Magically Generating Regular Expressions

Filed under: The Guru's Kitchen — Jan Goyvaerts @ 14:23

Automatically generating a regular expression without a higher-level description of the text you want to match isn’t really practical. But there has to be a way to create text patterns using a higher-level tool than the character-by-character regular expression syntax. Two years in the making, this blog post announce’s Just Great Software’s latest product.

Wednesday, 10 June 2009

#1 In Computer Books on Amazon.com

Filed under: Regex Cookbook — Jan Goyvaerts @ 9:10

When I write this, Regular Expressions Cookbook is at the top spot in Amazon.com’s computers & internet bestsellers.

Friday, 29 May 2009

Regular Expressions Cookbook in PDF Format

Filed under: Regex Cookbook — Jan Goyvaerts @ 15:06

You can purchase Regular Expressions Cookbook as a PDF download from O’Reilly’s website.

Thursday, 28 May 2009

The True Story About The Rat

Filed under: Regex Cookbook — Jan Goyvaerts @ 11:29

The animal on the cover of Regular Expressions Cookbook is actually a musk shrew. Shrews are insectivores, not rodents.

Wednesday, 27 May 2009

Regular Expressions Cookbook Has Been Published

Filed under: Regex Cookbook — Jan Goyvaerts @ 11:29

Regular Expressions Cookbook is now shipping. I dare say that Regular Expression Cookbook is the most practical book on regular expressions to date, filled with lots of detailed information about flavor-specific and language-specific features or issues glossed over by many other books and online articles.

Monday, 27 April 2009

Split() is Not Always The Best Way to Split a String

Filed under: Regex Trouble — Jan Goyvaerts @ 16:17

The split() function makes it easy to split a string when you can use a simple regex to match the delimiters on which you want to split. Often it is much easier to write a regex that matches the content between the delimiters that you want to keep. In such cases, use findall() instead of split().

Thursday, 12 March 2009

Regular Expressions Ratatouille

Filed under: Regex Cookbook — Jan Goyvaerts @ 16:13

The rat on the cover of Regular Expressions Cookbook reminds me of the rat in the Pixar animated movie “Ratatouille”.

Next Page »