Skip to content

Commit

Permalink
Merge branch 'master' into merge
Browse files Browse the repository at this point in the history
  • Loading branch information
andyfriesen committed Sep 15, 2023
2 parents 789ece0 + a35d3d4 commit 55d7a99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/assets/js/luau_mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
var indentUnit = 4;

function prefixRE(words) {
return new RegExp("^(?:" + words.join("|") + ")", "i");
return new RegExp("^(?:" + words.join("|") + ")");
}
function wordRE(words) {
return new RegExp("^(?:" + words.join("|") + ")$", "i");
return new RegExp("^(?:" + words.join("|") + ")$");
}
var specials = wordRE(parserConfig.specials || ["type"]);

Expand Down

0 comments on commit 55d7a99

Please sign in to comment.