Add regex (search, match, regex) jinja2 filters. Fixes #3725