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