From 2f6435d04e4d86dad88d321af690e8e650265dd4 Mon Sep 17 00:00:00 2001 From: Jared Carey Date: Tue, 22 Aug 2017 12:27:25 -0600 Subject: [PATCH] Update x_json_highlight_rules.js --- .../public/src/sense_editor/mode/x_json_highlight_rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core_plugins/console/public/src/sense_editor/mode/x_json_highlight_rules.js b/src/core_plugins/console/public/src/sense_editor/mode/x_json_highlight_rules.js index 2a402f5fa21a6..58af6ce01c0af 100644 --- a/src/core_plugins/console/public/src/sense_editor/mode/x_json_highlight_rules.js +++ b/src/core_plugins/console/public/src/sense_editor/mode/x_json_highlight_rules.js @@ -7,7 +7,7 @@ var jsonRules = function (root) { rules[root] = [ { token: ["variable", "whitespace", "ace.punctuation.colon", "whitespace", "punctuation.start_triple_quote"], - regex: '("script"|"inline"|"init_script"|"map_script"|"combine_script"|"reduce_script")(\\s*?)(:)(\\s*?)(""")', + regex: '("([^"]*_)?script"|"inline")(\\s*?)(:)(\\s*?)(""")', next: "script-start", merge: false, push: true