summaryrefslogtreecommitdiff
path: root/pygments/lexers/web.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/web.py')
-rw-r--r--pygments/lexers/web.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/web.py b/pygments/lexers/web.py
index f8c89204..180c8e8a 100644
--- a/pygments/lexers/web.py
+++ b/pygments/lexers/web.py
@@ -2710,7 +2710,7 @@ class LiveScriptLexer(RegexLexer):
("'''", String, 'tsqs'),
('"', String, 'dqs'),
("'", String, 'sqs'),
- (r'\\[\w$-]+', String),
+ (r'\\\S+', String),
(r'<\[.*?\]>', String),
],
'strings': [