mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-05 08:27:19 -04:00
Double '||'.. hard to spot, causes a mess
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
filetype: serverlog
|
filetype: serverlog
|
||||||
|
|
||||||
detect:
|
detect:
|
||||||
filename: "httpd.*\\.log||vhosts\\\\.*\\.log|apache.*\\.log|nginx.*\\.log"
|
filename: "httpd.*\\.log|vhosts\\\\.*\\.log|apache.*\\.log|nginx.*\\.log"
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
- constant.number: "(\\[[^]]+\\])"
|
- constant.number: "(\\[[^]]+\\])"
|
||||||
|
|||||||
@@ -19,10 +19,10 @@ rules:
|
|||||||
# Conditional flags
|
# Conditional flags
|
||||||
- statement: "--[a-z-]+"
|
- statement: "--[a-z-]+"
|
||||||
- statement: "\\ -[a-z]+"
|
- statement: "\\ -[a-z]+"
|
||||||
- symbol.brackets: "(\\[|\\]|\\{|\\}|[()])"
|
|
||||||
|
|
||||||
- identifier: "\\$\\{?[0-9A-Z_!@#$*?-]+\\}?"
|
- identifier: "\\$\\{?[0-9A-Z_!@#$*?-]+\\}?"
|
||||||
- identifier: "\\$\\{?[0-9A-Z_!@#$*?-]+\\}?"
|
- identifier: "\\$\\{?[0-9A-Z_!@#$*?-]+\\}?"
|
||||||
|
- symbol.brackets: "(\\[|\\]|\\{|\\}|[()])"
|
||||||
|
|
||||||
- constant.string:
|
- constant.string:
|
||||||
start: "\""
|
start: "\""
|
||||||
|
|||||||
Reference in New Issue
Block a user