1. Victor Ng
  2. rere


rere is a Python binding to the re2 regular expresssion library.

You'll need Cython 0.13 to compile and install it.

rere provides most of the things you want to do with re2 - that is, find matches to a pattern and extract groups of matches.

  • Replace
  • GlobalReplace
  • regex dialect support
  • length limited match