This new regex implementation is intended eventually to replace Python's
current re module implementation.