Skip to content

Commit

Permalink
rewind u
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel committed Nov 3, 2020
1 parent 4d2b99c commit 6478b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/mode_compiler.js
Expand Up @@ -36,7 +36,7 @@ export function compileLanguage(language) {
function langRe(value, global) {
return new RegExp(
regex.source(value),
'mu' + (language.case_insensitive ? 'i' : '') + (global ? 'g' : '')
'm' + (language.case_insensitive ? 'i' : '') + (global ? 'g' : '')
);
}

Expand Down

0 comments on commit 6478b01

Please sign in to comment.