mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-26 20:16:33 +00:00
Allow colon in syslog loghost
Makes it work with IPv6 addresses.
This commit is contained in:
1 parent
f508ddf66d
commit
2d92a4dbb3
3 files changed
+3
-1
No files matched your search
+1
-1
@@ -16,7 +16,7 @@ contexts:
|
||||
- match: ^
|
||||
push: text
|
||||
loghost:
|
||||
- match: '[\w.-]+'
|
||||
- match: '[\w:.-]+'
|
||||
scope: entity.other.attribute-name.loghost.syslog
|
||||
set: process
|
||||
process:
|
||||
|
||||
Reference in new issue
Block a user