Open Source: Lightweight And Fast Regular Expressions Library

In the past I have mentioned some excellent libraries from Google for iOS and Mac development which includes a library for regular expressions.

Regular expressions are a topic that I see searched for very frequently on this site, often with words like “too slow” added to the search.  While the NSPredicate class added some limited regular expressions support the performance can be quite dreadful.

If you want faster performance you may want to checkout RegexKitLite.  RegexKitLite allows you to easily use regular expressions  objects while being faster and more lightweight than other solutions.  Unlike the heaver RegexKit RegexKitLite only provides additions to NSString.

You can download RegexKitLite from the RegexKit homepage here (make sure to get the Lite version):
http://regexkit.sourceforge.net/

You can read further details on RegexKitLite here:
http://regexkit.sourceforge.net/RegexKitLite/

If you want an easy drop-in solution for faster regular expressions RegexKitLite could be the solution.

©2011 iPhone, iOS 4, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.

.

DeliciousTwitterTechnoratiFacebookLinkedInEmail

Leave a Reply

Your email address will not be published. Required fields are marked *