Skip to content

Commit

Permalink
[console] Remove capture group from *_script check
Browse files Browse the repository at this point in the history
  • Loading branch information
jbudz committed Mar 30, 2018
1 parent 2f6435d commit b60390c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var jsonRules = function (root) {
rules[root] = [
{
token: ["variable", "whitespace", "ace.punctuation.colon", "whitespace", "punctuation.start_triple_quote"],
regex: '("([^"]*_)?script"|"inline")(\\s*?)(:)(\\s*?)(""")',
regex: '("(?:[^"]*_)?script"|"inline")(\\s*?)(:)(\\s*?)(""")',
next: "script-start",
merge: false,
push: true
Expand Down

0 comments on commit b60390c

Please sign in to comment.