I can work on making the re module available to Jinja2. Please file
a github ticket.
Super easy to add.
Thought I did it already actually, but guess not.
I agree with http://xkcd.org/1171/ to some extent personally and
typically use ".replace" on a string when I can Not saying we
should not make it available.