Overview

PCRE web site, a Perl-compatible regular expression library.

Case Studies

Gotchas

  • Regular expressions that require backreferences can result in exponential runtime complexity.
  • Earlier versions like the one that Apple uses in their WebKit library have fairly broken behavior when faced with regular expressions that contain Unicode characters.

Tips & Tricks

Alternatives

  • Use more simple string prefix, suffix and separation tools. ('Some people, when confronted with a problem, think “I know, I'll use regular expressions.” Now they have two problems.' – jwz)

Other Resources

 
pcre.txt · Last modified: 2008/04/26 00:25 by wac
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki