Double '||'.. hard to spot, causes a mess

This commit is contained in:
Jesse Portnoy
2023-07-17 03:45:35 +01:00
parent 571529568c
commit e41cefacba
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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: "(\\[[^]]+\\])"
+1 -1
View File
@@ -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: "\""