projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61b5960
)
Unicode support for wordcount.
author
Armin Ronacher
<armin.ronacher@active-4.com>
Wed, 5 Aug 2009 16:07:13 +0000
(18:07 +0200)
committer
Armin Ronacher
<armin.ronacher@active-4.com>
Wed, 5 Aug 2009 16:07:13 +0000
(18:07 +0200)
--HG--
branch : trunk
jinja2/filters.py
patch
|
blob
|
history
diff --git
a/jinja2/filters.py
b/jinja2/filters.py
index 76cdcc12d7ecfd6b17ea15fe95a972493de1387e..676627f34d1c843961e54adb1d73e43603b33fae 100644
(file)
--- a/
jinja2/filters.py
+++ b/
jinja2/filters.py
@@
-18,7
+18,7
@@
from jinja2.runtime import Undefined
from jinja2.exceptions import FilterArgumentError, SecurityError
-_word_re = re.compile(r'\w+')
+_word_re = re.compile(r'\w+
(?u)
')
def contextfilter(f):