1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-02 03:12:25 +01:00

Allow period in syslog loghost

Makes it work with FQDN's and IPv4 addresses.
This commit is contained in:
Ville Skyttä
2021-08-11 16:43:04 +03:00
parent 02218c916c
commit f508ddf66d
3 changed files with 3 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ contexts:
- match: ^
push: text
loghost:
- match: '[\w-]+'
- match: '[\w.-]+'
scope: entity.other.attribute-name.loghost.syslog
set: process
process: