Permalink
Browse files

Unicode support for wordcount.

--HG--
branch : trunk
  • Loading branch information...
1 parent 61b5960 commit c421efe074dbedd5c3338d3abcb5ca195ce77d71 @mitsuhiko mitsuhiko committed Aug 5, 2009
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):

0 comments on commit c421efe

Please sign in to comment.