-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: 1000TurquoisePogs <[email protected]>
- Loading branch information
1 parent
02ddfb0
commit 89a606e
Showing
9 changed files
with
177 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
rules: | ||
- description: error1 | ||
regex: "(?i)(?<=\\W)(no|off)(?=\\W)" | ||
color: "f#ff0000" | ||
exclusive: false | ||
- description: error2 | ||
regex: "(?i)error|fail|critical|invalid|fatal|abend|alert|abort|severe" | ||
color: "f#ff0000" | ||
exclusive: false | ||
- description: error3 | ||
regex: "(?i)false|undefined|null" | ||
color: "f#ff0000" | ||
exclusive: true | ||
- description: minus | ||
regex: "(?<!\\-)\\-{1,2}(?=[\\s0-9])" | ||
color: "f#ff0000" | ||
exclusive: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
rules: | ||
- description: cli flags | ||
regex: "\\W\\-[A-Za-z]+\\W" | ||
color: "f#afffd7" # color 158 | ||
eclusive: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
rules: | ||
- description: 64 bit hex first byte | ||
regex: "(?!00000000)(?<=\\W)[0-9A-Fa-f]{2}(?=[0-9A-Fa-f]{14})" | ||
color: "f#00ff00" # color207 | ||
exclusive: false | ||
- description: 64 bit hex first byte | ||
regex: "(?<=\\W0x)[0-9A-Fa-f]{2}(?<!00)(?=[0-9A-Fa-f]{14})" | ||
color: "f#00ff00" # color207 | ||
exclusive: false | ||
- description: 64 bit hex high 32 | ||
regex: "(?!000000)(?<=[0-9A-Fa-f]{2})[0-9A-Fa-f]{6}(?=[0-9A-Fa-f]{8})" | ||
color: "f#00aa00" # color207 | ||
exclusive: false | ||
- description: 64 bit hex middle byte | ||
regex: "(?<=[0-9A-Fa-f]{8})[0-9A-Fa-f]{2}(?=[0-9A-Fa-f]{6})" | ||
color: "f#00ffff" # color207 | ||
exclusive: false | ||
- description: 64 bit hex lower 32 | ||
regex: "(?<=[0-9A-Fa-f]{10})[0-9A-Fa-f]{6}" | ||
color: "f#00aaaa" # color207 | ||
exclusive: false | ||
- description: 32 bit hex first byte | ||
regex: "(?<=\\W)[0-9A-Fa-f]{2}(?=[0-9A-Fa-f]{6}[^0-9A-Fa-f])" | ||
color: "f#00ffff" # color207 | ||
exclusive: false | ||
- description: 32 bit hex first byte | ||
regex: "(?<=\\W0x)[0-9A-Fa-f]{2}(?=[0-9A-Fa-f]{6}[^0-9A-Fa-f])" | ||
color: "f#00ffff" # color207 | ||
exclusive: false | ||
- description: 32 bit hex lower 32 | ||
regex: "(?<=\\W[0-9A-Fa-f]{2})[0-9A-Fa-f]{6}(?![0-9A-Fa-f])" | ||
color: "f#00aaaa" # color207 | ||
exclusive: false | ||
- description: 32 bit hex lower 32 | ||
regex: "(?<=\\W0x[0-9A-Fa-f]{2})[0-9A-Fa-f]{6}(?![0-9A-Fa-f])" | ||
color: "f#00aaaa" # color207 | ||
exclusive: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
rules: | ||
- description: function params | ||
regex: "\\([A-Za-z0-9\\ \\,\\*]*\\)" | ||
color: "f#afffd7" # color 158 | ||
exclusive: false | ||
|
||
- description: keywords - case sensitive. | ||
regex: "(int|long|unsigned|bool|boolean|var|let|String|const|char|import|export)\\W" | ||
color: "f#00ffff" # color 51 | ||
exclusive: false | ||
- description: keywords2 - case sensitive. | ||
regex: "\\w*(Array|Object|JSON|print|response|request)\\w*\\W" | ||
color: "f#00ffff" # color 51 | ||
exclusive: false | ||
- description: pointers | ||
regex: "\\w+ \\*" | ||
color: "f#00ffff" # color 51 | ||
exclusive: false | ||
|
||
- description: CONST_THINGS - case sensitive. | ||
regex: "\\s[A-Z_][A-Z_]+(\\ |\\,|\\;|\\)|\\]|\\})" | ||
color: "f#0087d7" # color32 | ||
exclusive: false | ||
- description: CONST_THINGS - case sensitive. | ||
regex: "^[A-Z_][A-Z_]+(\\ |\\,|\\;|\\)|\\]|\\})" | ||
color: "f#0087d7" # color32 | ||
exclusive: false | ||
|
||
- description: reserved words - case sensitive. | ||
regex: "\\W(do|for|if|esac|fi)\\s*[\\[\\(\\{]" | ||
color: "f#00af87" # color36 0 | ||
exclusive: false | ||
- description: reserved words - case sensitive. | ||
regex: "switch|case|done|break|return|while|else|elif|static|debug|trace|info|then|function|this|class" | ||
color: "f#00af87" # color36 0 | ||
exclusive: false | ||
|
||
- description: "// comment" | ||
regex: "\\/\\/[A-Za-z0-9\\ \\.\\%\\\\\\:;\\&\\|\\/\\*\"'=+,_-]+" | ||
color: "f#767676" # color 243 | ||
exclusive: false | ||
- description: "/* comment */" | ||
regex: "\\/\\*.*\\*\\/" | ||
color: "f#767676" # color 243 | ||
exclusive: false | ||
- description: "/* comment" | ||
regex: "\\/\\*[^*]*$" | ||
color: "f#767676" # color 243 | ||
exclusive: false | ||
- description: "#comment" | ||
regex: "\\#[A-Za-z0-9\\ \\.#\\%\\\\\\:;\\&\\|\\/\\*\"'-=+,_-]+" | ||
color: "f#767676" # color 243 | ||
exclusive: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
rules: | ||
- description: single quote | ||
regex: "'[^']*'" | ||
color: "f#ffd75f" # color221 | ||
exclusive: false | ||
- description: double quote | ||
regex: "\"[^\"]*\"" | ||
color: "f#ffd75f" # color221 | ||
exclusive: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
rules: | ||
- description: good | ||
regex: "(?i)\\W(on|valid)\\W" | ||
color: "f#00ff00" # color 10 | ||
exclusive: false | ||
- description: good2 | ||
regex: "(?i)yes|success" | ||
color: "f#00ff00" # color 10 | ||
exclusive: false | ||
- description: good3 | ||
regex: "true|TRUE" | ||
color: "f#00ff00" # color 10 | ||
exclusive: true | ||
- description: plus | ||
regex: "(?<!\\+)\\+{1,2}(?!\\+)" | ||
color: "f#00ff00" # color 10 | ||
exclusive: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
rules: | ||
- description: urls | ||
regex: "[a-z_-]+\\:\\/\\/[A-Za-z0-9\\.\\:\\/\\&\\?\\@_-]+" | ||
color: "f#ff5f00" # color202 | ||
exclusive: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
rules: | ||
- description: warnings1 | ||
regex: "(?i)warn|caution|default|unknown|important" | ||
color: "f#ffff00" # color 11 | ||
exclusive: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
rules: | ||
- description: zos error | ||
regex: "[A-Z]{3,5}[0-9]+E\\W" | ||
color: "f#ff0000" | ||
exclusive: false | ||
- description: common abends | ||
regex: "(?i)s?0c[1-9a-f](-[0-9]{0,2})?" | ||
color: "f#ff0000" | ||
exclusive: false | ||
- description: zos good | ||
regex: "[A-Z]{3,5}[0-9]+I\\W" | ||
color: "f#00ff00" # color 10 | ||
exclusive: false | ||
- description: zos warnings | ||
regex: "[A-Z]{3,5}[0-9]+W\\W" | ||
color: "f#ffff00" # color 11 | ||
exclusive: false | ||
- description: datasets | ||
regex: "\\s([A-Z]){1}([A-Z0-9\\$\\#\\@\\-]){0,7}(\\.([A-Z\\$\\#\\@]){1}([A-Z0-9\\$\\#\\@\\-]){0,7}){1,11}" | ||
color: "f#ff5f00" # color202 | ||
exclusive: false | ||
|
||
- description: "jcl left-hand" | ||
regex: "(?<=//)[A-Z0-9]{1,8}\\s+(?=(IF|EXEC|DD|JOB|PROC))" | ||
color: "f#00ffff" # color 51 | ||
exclusive: true |