mitsuhiko/jinja2 — Issue #90: matcher() builtin, like joiner() and cycler()
Author: miracle2k
Created: 2012-01-21 19:45:55+00:00
State: open

Any interest in including something like this:

https://github.com/miracle2k/jinja2utils/blob/master/src/jinja2utils/match.py

I have just written this code a second time, needing it again and not remembering I had already implemented it once.

It seems to fit very well alongside joiner() and cycler(), and presumably is a common usecase.