mitsuhiko/jinja2 — pull request #246 by gthb (2013-07-04 14:53:49+00:00)
Title: Simple regexp-substitution filter, using re.sub

Gives a bit more in-template logic leeway, useful e.g. in salt templates
where "just put it in the view function" is not convenient.