mirror of
https://github.com/garabik/grc.git
synced 2024-09-26 17:51:28 +02: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:
parent
b11c36fcba
commit
270e11cb83
12
grc.conf
12
grc.conf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user