From 843c017298270f401060486b82644eba3561a5c2 Mon Sep 17 00:00:00 2001 From: Sullivan Ford Date: Thu, 5 May 2022 16:50:48 +0100 Subject: [PATCH] Remove unnecessary escape chars --- lib/ace/mode/robot_highlight_rules.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ace/mode/robot_highlight_rules.js b/lib/ace/mode/robot_highlight_rules.js index 785d913601..ed274de7de 100644 --- a/lib/ace/mode/robot_highlight_rules.js +++ b/lib/ace/mode/robot_highlight_rules.js @@ -114,7 +114,7 @@ var RobotHighlightRules = function() { }] }, { token: "keyword.control.robot", - regex: /^[^\s\t\*$\|]+|(?=^\|)\s+[^\s\t\*$\|]+/, + regex: /^[^\s\t*$|]+|(?=^\|)\s+[^\s\t*$|]+/, push: [{ token: "keyword.control.robot", regex: /(?=\s{2})|\t|$|\s+(?=\|)/, @@ -131,7 +131,7 @@ var RobotHighlightRules = function() { caseInsensitive: true }, { token: "storage.type.function", - regex: /^(?:\s{2,}\s+)[^ \t\*$@&%\[.\|]+/, + regex: /^(?:\s{2,}\s+)[^ \t*$@&%[.|]+/, push: [{ token: "storage.type.function", regex: /(?=\s{2})|\t|$|\s+(?=\|)/,