Skip to content

Commit

Permalink
Remove unnecessary escape chars
Browse files Browse the repository at this point in the history
  • Loading branch information
SullyJHF committed May 5, 2022
1 parent 461c020 commit 843c017
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ace/mode/robot_highlight_rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -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+(?=\|)/,
Expand All @@ -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+(?=\|)/,
Expand Down

0 comments on commit 843c017

Please sign in to comment.