Skip to content
Myr

Unicode support for wordcount.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent 61b5960 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:jinja2/filters.py+1 added-1 removed
16 unmodified lines
17from jinja2.runtime import Undefined18from jinja2.exceptions import FilterArgumentError, SecurityError192021_word_re = re.compile(r'\w+')21_word_re = re.compile(r'\w+(?u)')222324def contextfilter(f):25 """Decorator for marking context dependent filters. The current
690 unmodified lines