This morning I committed GRegex to svn, so glib 2.14 will have regular expression support. GRegex is a wrapper around the PCRE library by Philip Hazel that has several interesting features:
- Faster than GNU regexp
- Good Unicode support
- Advanced constructs, such as positive and negative look-ahead and look-behind assertions, named sub-patterns, etc.
- Normal (Perl-like) matching
- Partial matching
- DFA matching to find overlapping matches
GRegex has a nice GLib-ish API that wraps PCRE functions and adds other features: