We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbab868 commit 0a1e9b0Copy full SHA for 0a1e9b0
src/languages/livescript.js
@@ -115,7 +115,7 @@ export default function(hljs) {
115
{
116
// regex can't start with space to parse x / 2 / 3 as two divisions
117
// regex can't start with *, and it supports an "illegal" in the main mode
118
- begin: /\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W)/
+ begin: /\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/
119
}
120
]
121
},
0 commit comments