2
0
Fork 0
mirror of https://github.com/garabik/grc.git synced 2024-11-15 14:48:26 +01:00

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

View file

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