Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Unicode support for wordcount.

--HG--
branch : trunk
  • Loading branch information...
commit c421efe074dbedd5c3338d3abcb5ca195ce77d71 1 parent 61b5960
@mitsuhiko authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  jinja2/filters.py
View
2  jinja2/filters.py
@@ -18,7 +18,7 @@
from jinja2.exceptions import FilterArgumentError, SecurityError
-_word_re = re.compile(r'\w+')
+_word_re = re.compile(r'\w+(?u)')
def contextfilter(f):
Please sign in to comment.
Something went wrong with that request. Please try again.