on master help sign in
Allow period in syslog process name
commit02218c916c7cdc754a463480eba5b42377c807b9 authorVille Skyttä <ville.skytta@iki.fi> dateWed 11 Aug 2021, 16:41 (5 years ago) parent89217e0
3 files changed+3−1
assets/syntaxes/02_Extra/syslog.sublime-syntax+1−1 tests/syntax-tests/highlighted/Syslog/example.syslog+1 tests/syntax-tests/source/Syslog/example.syslog+1
assets/syntaxes/02_Extra/syslog.sublime-syntax+1−1
@@ -20,7 +20,7 @@ contexts:
2020 scope: entity.other.attribute-name.loghost.syslog
2121 set: process
2222 process:
23− - match: ([\w-]+)(?:(\[)(\d+)(\]))?(:)
23+ - match: ([\w.-]+)(?:(\[)(\d+)(\]))?(:)
2424 captures:
2525 1: support.function.process.syslog
2626 2: punctuation.separator.pid.begin.syslog
tests/syntax-tests/highlighted/Syslog/example.syslog+1
@@ -9,3 +9,4 @@
99Apr 4 09:30:01 hostname-here CRON[89278]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
1010Apr 4 16:32:07 hostname-here NetworkManager[740]: <info> [1617629527.1101] manager: NetworkManager state is now CONNECTED_GLOBAL
1111Apr 4 22:00:45 hostname-here dbus-daemon[1094]: [session uid=1000 pid=1094] Successfully activated service 'io.github.celluloid_player.Celluloid'
12+Aug 11 13:29:06 hostname-here insomnia_insomnia.desktop[142666]: 13:29:06.316 › [updater] Updater not running platform=linux dev=false
tests/syntax-tests/source/Syslog/example.syslog+1
@@ -9,3 +9,4 @@ Apr 4 00:06:29 hostname-here ntpd[952]: receive: Unexpected origin timestamp 0x
99Apr 4 09:30:01 hostname-here CRON[89278]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
1010Apr 4 16:32:07 hostname-here NetworkManager[740]: <info> [1617629527.1101] manager: NetworkManager state is now CONNECTED_GLOBAL
1111Apr 4 22:00:45 hostname-here dbus-daemon[1094]: [session uid=1000 pid=1094] Successfully activated service 'io.github.celluloid_player.Celluloid'
12+Aug 11 13:29:06 hostname-here insomnia_insomnia.desktop[142666]: 13:29:06.316 › [updater] Updater not running platform=linux dev=false