Index: tools/jsmin.py |
diff --git a/tools/jsmin.py b/tools/jsmin.py |
index cadc98b25897b30441236f790169adf4debe7d4d..236f511d447b228e9b5473dddba99fb93902397e 100644 |
--- a/tools/jsmin.py |
+++ b/tools/jsmin.py |
@@ -241,7 +241,7 @@ class JavaScriptMinifier(object): |
# A regexp that matches a literal string surrounded by 'single quotes'. |
single_quoted_string = r"'(?:[^'\\]|\\.)*'" |
# A regexp that matches a template string |
- template_string = r"`(?:[^'\\]|\\.)*`" |
+ template_string = r"`(?:[^`\\]|\\.)*`" |
# A regexp that matches a regexp literal surrounded by /slashes/. |
# Don't allow a regexp to have a ) before the first ( since that's a |
# syntax error and it's probably just two unrelated slashes. |