summaryrefslogtreecommitdiff
path: root/jinja2
diff options
context:
space:
mode:
Diffstat (limited to 'jinja2')
-rw-r--r--jinja2/filters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jinja2/filters.py b/jinja2/filters.py
index 76cdcc1..676627f 100644
--- 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):