We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a2624a commit dc45f7cCopy full SHA for dc45f7c
src/languages/livescript.js
@@ -81,7 +81,7 @@ function(hljs) {
81
{
82
// regex can't start with space to parse x / 2 / 3 as two divisions
83
// regex can't start with *, and it supports an "illegal" in the main mode
84
- begin: /\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W)/
+ begin: /\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/
85
}
86
]
87
},
0 commit comments