From 270e11cb8348b47519ad59127ef67f948faf3098 Mon Sep 17 00:00:00 2001 From: raizo62 Date: Sat, 6 Apr 2019 11:59:52 +0200 Subject: [PATCH] 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 --- grc.conf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/grc.conf b/grc.conf index a4d7c79..504a985 100644 --- a/grc.conf +++ b/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