grc.conf : correct the regular expression with ping, traceroute, ip, journalctl, systemctl, sysctl : the '?' is for '\s', not for the last letter of the command

This commit is contained in:
raizo62 2019-04-06 11:59:52 +02:00
parent b11c36fcba
commit 270e11cb83
1 changed files with 6 additions and 6 deletions

View File

@ -11,11 +11,11 @@ conf.log
conf.configure
# ping command
(^|[/\w\.]+/)(io|o|n|h|arp|l2)?ping[236]?\s
(^|[/\w\.]+/)(io|o|n|h|arp|l2)?ping[236]?\s?
conf.ping
# traceroute command
(^|[/\w\.]+/)traceroute6?\s
(^|[/\w\.]+/)traceroute6?\s?
conf.traceroute
# gcc command
@ -114,7 +114,7 @@ conf.iproute
conf.ipneighbor
# ip command - rest of commands
(^|[/\w\.]+/)ip?\s
(^|[/\w\.]+/)ip\s?
conf.ip
# env
@ -191,15 +191,15 @@ conf.dockerversion
------------
# journalctl command
(^|[/\w\.]+/)journalctl?\s
(^|[/\w\.]+/)journalctl\s?
conf.log
# systemctl command
(^|[/\w\.]+/)systemctl?\s
(^|[/\w\.]+/)systemctl\s?
conf.systemctl
# sysctl command
(^|[/\w\.]+/)sysctl?\s
(^|[/\w\.]+/)sysctl\s?
conf.sysctl
# tcpdump command