summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pygments/lexers/javascript.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/javascript.py b/pygments/lexers/javascript.py
index 99361aaf..0c22aa6e 100644
--- a/pygments/lexers/javascript.py
+++ b/pygments/lexers/javascript.py
@@ -40,7 +40,7 @@ class JavascriptLexer(RegexLexer):
mimetypes = ['application/javascript', 'application/x-javascript',
'text/x-javascript', 'text/javascript', ]
- flags = re.DOTALL
+ flags = re.DOTALL | re.UNICODE
tokens = {
'commentsandwhitespace': [
(r'\s+', Text),