Browsing: python

Jinja2 has no regex support built in. The familiar regex_search and regex_replace filters come from Ansible. Here is how to use them there, and how to register your own in Flask and standalone Jinja.