Regex Guru

Thursday, 29 May 2014

What’s New in Delphi XE6 Regular Expressions

Filed under: Regex Libraries — Jan Goyvaerts @ 13:27

There’s not much new in the regular expression support in Delphi XE6. The big change that should be made, upgrading to PCRE 8.30 or later and switching to the pcre16 functions that use UTF-16, still hasn’t been made. XE6 still uses PCRE 7.9 and thus continues to require conversion from the UTF-16 strings that Delphi […]

Monday, 19 May 2014

Python 3.4 adds re.fullmatch()

Filed under: Regex Libraries — Jan Goyvaerts @ 13:56

Python 3.4 does not bring any changes to its regular expression syntax compared to previous 3.x releases. It does add one new function to the re module called fullmatch(). This function takes a regular expression and a subject string as its parameters. It returns a Match object if the regular expression can match the string […]

Friday, 16 May 2014

New Regular Expression Features in Java 8

Filed under: Regex Libraries — Jan Goyvaerts @ 13:47

Java 8 brings a few changes to Java’s regular expression syntax to make it more consistent with Perl 5.14 and later in matching horizontal and vertical whitespace. \h is a new feature. It is a shorthand character class that matches any horizontal whitespace character as defined in the Unicode standard. In Java 4 to 7 […]

Wednesday, 14 May 2014

New regular expression features in PCRE 8.34 and 8.35

Filed under: Regex Libraries — Jan Goyvaerts @ 13:26

PCRE 8.34 adds some new regex features and changes the behavior of a few to make it better compatible with the latest versions of Perl. There are no changes to the regex syntax in PCRE 8.35. \o{377} is now an octal escape just like \377. This syntax was first introduced in Perl 5.12. It avoids […]

Tuesday, 22 October 2013

XRegExp Regular Expression Library for JavaScript

Filed under: Regex Libraries — Jan Goyvaerts @ 12:02

XRegExp is an open source JavaScript library. It extends JavaScript’s regex syntax and eliminates most cross-browser inconstencies and bugs. Last month’s update of the regexp.info website added full coverage of XRegExp to the tutorial and reference sections, but was missing the XRegExp page in the tools & languages section. This page has now been added.

Tuesday, 7 September 2010

PerlRegEx vs RegularExpressionsCore Delphi Units

Filed under: Regex Libraries — Jan Goyvaerts @ 8:13

The differences between the PerlRegEx unit I wrote and the RegularExpressionsCore unit in Delphi XE are minimal. Code using the latest PerlRegEx unit can be migrated unchanged to the RegularExpressionsCore unit.

Monday, 6 September 2010

New TPerlRegEx Compatible with Delphi XE

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

The new version of TPerlRegEx is compatible with the RegularExpressionsCore unit in Delphi XE, so you can use the same code with Delphi XE and earlier versions of Delphi.

Tuesday, 24 August 2010

Regex Support Added to The RTL in Delphi XE and C++Builder XE

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

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.

Tuesday, 8 June 2010

Replacement Text Syntax for JavaScript’s String.replace()

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

List of placeholders such as $1 and $& that you can use in the replacement text of JavaScript’s String.replace() function.

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.

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.

Thursday, 18 December 2008

TPerlRegEx Now with Proper UTF-8 (Unicode) Support

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

TPerlRegEx for Delphi 2009 had a rather embarrasing bug: it didn’t actually enable the UTF-8 support in PCRE if you did not set the Options property to something different than the default.

Next Page »