From 11376c5d7d9e2d9bf96627104a188499f62bc5ce Mon Sep 17 00:00:00 2001 From: j Date: Tue, 26 May 2020 10:22:58 +0200 Subject: [PATCH] support backtick strings --- ox/js.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ox/js.py b/ox/js.py index 43b6fb0..2f419bd 100644 --- a/ox/js.py +++ b/ox/js.py @@ -95,7 +95,7 @@ def tokenize(source): '.', ',', ';' ] REGEXP = 'abcdefghijklmnopqrstuvwxyz' - STRING = '\'"' + STRING = '\'"`' WHITESPACE = ' \t' def is_regexp(): # checks if a forward slash is the beginning of a regexp,