mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-08-30 13:56:27 -04:00
Added tcpdump lexer
Some indentation fixes
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
---
|
||||
filetype: serverlog
|
||||
|
||||
detect:
|
||||
@@ -8,8 +9,7 @@ rules:
|
||||
- preproc: "([0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3})"
|
||||
- preproc: "\\\\."
|
||||
- preproc: "(\\[(error|warning|info|warn)\\])"
|
||||
- constant.specialChar: "((GET|POST|HEAD)\\ [^\\ ]+)"
|
||||
- constant.specialChar: "((GET|POST|HEAD)\\ [^\\ ]+)"
|
||||
- comment: "(referer\\: .*)"
|
||||
- statement: "[[:space:]]([0-9~:.]{2,}[-+:.0-9a-z~]+)[[:space:]]"
|
||||
- type: "(Mozilla|Chrome|Safari|Firefox|AppleWebKit|Linux x86_64|Gecko|Windows|Mac)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user