2
0
mirror of https://github.com/garabik/grc.git synced 2024-10-28 17:41:01 +01:00

cli regexp matched too much

This commit is contained in:
Radovan Garabík 2020-12-28 16:40:12 +01:00
parent 70f4178f37
commit 826422fad6

148
grc.conf
View File

@ -7,91 +7,91 @@ conf.irclog
conf.log conf.log
# configure command # configure command
(^|[/\w\.]+/)?configure ^([/\w\.]+\/)??configure
conf.configure conf.configure
# ping command # ping command
(^|[/\w\.]+/)(io|o|n|h|arp|l2)?ping[236]?\b ^([/\w\.]+\/)?(io|o|n|h|arp|l2)?ping[236]?\b
conf.ping conf.ping
# traceroute command # traceroute command
(^|[/\w\.]+/)traceroute6?\b ^([/\w\.]+\/)?traceroute6?\b
conf.traceroute conf.traceroute
# gcc command # gcc command
(^|[/\w\.]+/)(g?cc|[gc]\+\+)\s ^([/\w\.]+\/)?(g?cc|[gc]\+\+)\s
conf.gcc conf.gcc
# make command # make command
(^|[/\w\.]+/)g?make\b ^([/\w\.]+\/)?g?make\b
conf.gcc conf.gcc
# netstat command # netstat command
(^|[/\w\.]+/)netstat\b ^([/\w\.]+\/)?netstat\b
conf.netstat conf.netstat
# stat command # stat command
(^|[/\w\.]+/)stat\b ^([/\w\.]+\/)?stat\b
conf.stat conf.stat
# ss command # ss command
(^|[/\w\.]+/)ss\b ^([/\w\.]+\/)?ss\b
conf.ss conf.ss
# diff command # diff command
(^|[/\w\.]+/)diff\b ^([/\w\.]+\/)?diff\b
conf.diff conf.diff
# wdiff command # wdiff command
(^|[/\w\.]+/)wdiff\b ^([/\w\.]+\/)?wdiff\b
conf.wdiff conf.wdiff
# last/who command # last/who command
(^|[/\w\.]+/)(lastb?|who|lastlog)\b ^([/\w\.]+\/)?(lastb?|who|lastlog)\b
conf.last conf.last
# ldap tools # ldap tools
(^|[/\w\.]+/)ldap ^([/\w\.]+\/)?ldap
conf.ldap conf.ldap
# cvs command # cvs command
(^|[/\w\.]+/)cvs\b ^([/\w\.]+\/)?cvs\b
conf.cvs conf.cvs
# mount command # mount command
(^|[/\w\.]+/)mount\b ^([/\w\.]+\/)?mount\b
conf.mount conf.mount
# findmnt command # findmnt command
(^|[/\w\.]+/)findmnt\b ^([/\w\.]+\/)?findmnt\b
conf.findmnt conf.findmnt
# mtr command # mtr command
(^|[/\w\.]+/)mtr\b ^([/\w\.]+\/)?mtr\b
conf.mtr conf.mtr
# ps command # ps command
(^|[/\w\.]+/)ps\b ^([/\w\.]+\/)?ps\b
conf.ps conf.ps
# dig command # dig command
(^|[/\w\.]+/)dig\b ^([/\w\.]+\/)?dig\b
conf.dig conf.dig
# ifconfig command # ifconfig command
(^|[/\w\.]+/)ifconfig\b ^([/\w\.]+\/)?ifconfig\b
conf.ifconfig conf.ifconfig
# ls command # ls command
(^|[/\w\.]+/)ls\s ^([/\w\.]+\/)?ls\s
conf.ls conf.ls
# mount # mount
(^|[/\w\.]+/)mount\b ^([/\w\.]+\/)?mount\b
conf.mount conf.mount
# df # df
(^|[/\w\.]+/)df\b ^([/\w\.]+\/)?df\b
conf.df conf.df
# du # du
@ -99,201 +99,201 @@ conf.df
conf.du conf.du
# ip addr/link # ip addr/link
(^|[/\w\.]+/)ip( -\w+)* a(d(d(r(e(ss?)?)?)?)?)?\b ^([/\w\.]+\/)?ip( -\w+)* a(d(d(r(e(ss?)?)?)?)?)?\b
conf.ipaddr conf.ipaddr
(^|[/\w\.]+/)ip( -\w+)* l(i(nk?)?)?\b ^([/\w\.]+\/)?ip( -\w+)* l(i(nk?)?)?\b
conf.ipaddr conf.ipaddr
# ip route # ip route
(^|[/\w\.]+/)ip( -\w+)* r(o(u(te?)?)?)?\b ^([/\w\.]+\/)?ip( -\w+)* r(o(u(te?)?)?)?\b
conf.iproute conf.iproute
# ip neighbor # ip neighbor
(^|[/\w\.]+/)ip( -\w+)* n(e(i(g(h(b(o(ur?)?)?)?)?)?)?)?\b ^([/\w\.]+\/)?ip( -\w+)* n(e(i(g(h(b(o(ur?)?)?)?)?)?)?)?\b
conf.ipneighbor conf.ipneighbor
# ip command - rest of commands # ip command - rest of commands
(^|[/\w\.]+/)ip\b ^([/\w\.]+\/)?ip\b
conf.ip conf.ip
# env # env
(^|[/\w\.]+/)env\b ^([/\w\.]+\/)?env\b
conf.env conf.env
# systemctl show # systemctl show
(^|[/\w\.]+/)systemctl show\b ^([/\w\.]+\/)?systemctl show\b
conf.env conf.env
# iptables # iptables
(^|[/\w\.]+/)iptables\b ^([/\w\.]+\/)?iptables\b
conf.iptables conf.iptables
# lspci # lspci
(^|[/\w\.]+/)lspci\b ^([/\w\.]+\/)?lspci\b
conf.lspci conf.lspci
# lsblk # lsblk
(^|[/\w\.]+/)lsblk\b ^([/\w\.]+\/)?lsblk\b
conf.lsblk conf.lsblk
# lsof # lsof
(^|[/\w\.]+/)lsof\b ^([/\w\.]+\/)?lsof\b
conf.lsof conf.lsof
# blkid # blkid
(^|[/\w\.]+/)blkid\b ^([/\w\.]+\/)?blkid\b
conf.blkid conf.blkid
# id # id
(^|[/\w\.]+/)id\b ^([/\w\.]+\/)?id\b
conf.id conf.id
# iostat / sar # iostat / sar
(^|[/\w\.]+/)(iostat|sar)\b ^([/\w\.]+\/)?(iostat|sar)\b
conf.iostat_sar conf.iostat_sar
# fdisk # fdisk
(^|[/\w\.]+/)fdisk -l\b ^([/\w\.]+\/)?fdisk -l\b
conf.fdisk conf.fdisk
# free # free
(^|[/\w\.]+/)free\b ^([/\w\.]+\/)?free\b
conf.free conf.free
------------ ------------
# docker # docker
# docker ps # docker ps
(^|[/\w\.]+/)docker(-compose)? ps\b ^([/\w\.]+\/)?docker(-compose)? ps\b
conf.dockerps conf.dockerps
(^|[/\w\.]+/)docker image(s| ls| list)\b ^([/\w\.]+\/)?docker image(s| ls| list)\b
conf.dockerimages conf.dockerimages
(^|[/\w\.]+/)docker search\b ^([/\w\.]+\/)?docker search\b
conf.dockersearch conf.dockersearch
#(^|[/\w\.]+/)docker pull\b #^([/\w\.]+\/)?docker pull\b
#conf.dockerpull #conf.dockerpull
(^|[/\w\.]+/)docker-machine ls\b ^([/\w\.]+\/)?docker-machine ls\b
conf.docker-machinels conf.docker-machinels
(^|[/\w\.]+/)docker network ls\b ^([/\w\.]+\/)?docker network ls\b
conf.dockernetwork conf.dockernetwork
(^|[/\w\.]+/)docker info\b ^([/\w\.]+\/)?docker info\b
conf.dockerinfo conf.dockerinfo
(^|[/\w\.]+/)docker version\b ^([/\w\.]+\/)?docker version\b
conf.dockerversion conf.dockerversion
------------ ------------
# journalctl command # journalctl command
(^|[/\w\.]+/)journalctl\b ^([/\w\.]+\/)?journalctl\b
conf.log conf.log
# KubeCTL # KubeCTL
^(^|[/\w\.]+/)kubectl((?!edit|exec|run|go-template).)*$ ^([/\w\.]+\/)?kubectl((?!edit|exec|run|go-template).)*$
conf.kubectl conf.kubectl
# sensors command # sensors command
(^|[/\w\.]+/)sensors\b ^([/\w\.]+\/)?sensors\b
conf.sensors conf.sensors
# systemctl command # systemctl command
(^|[/\w\.]+/)systemctl\b ^([/\w\.]+\/)?systemctl\b
conf.systemctl conf.systemctl
# sysctl command # sysctl command
(^|[/\w\.]+/)sysctl\b ^([/\w\.]+\/)?sysctl\b
conf.sysctl conf.sysctl
# tcpdump command # tcpdump command
(^|[/\w\.]+/)tcpdump\b ^([/\w\.]+\/)?tcpdump\b
conf.tcpdump conf.tcpdump
# tune2fs command # tune2fs command
(^|[/\w\.]+/)tune2fs\b ^([/\w\.]+\/)?tune2fs\b
conf.tune2fs conf.tune2fs
# lsmod # lsmod
(^|[/\w\.]+/)lsmod\b ^([/\w\.]+\/)?lsmod\b
conf.lsmod conf.lsmod
# lsattr # lsattr
(^|[/\w\.]+/)lsattr\b ^([/\w\.]+\/)?lsattr\b
conf.lsattr conf.lsattr
# semanage --------------------------------- # semanage ---------------------------------
(^|[/\w\.]+/)semanage boolean\b ^([/\w\.]+\/)?semanage boolean\b
conf.semanageboolean conf.semanageboolean
(^|[/\w\.]+/)semanage fcontext\b ^([/\w\.]+\/)?semanage fcontext\b
conf.semanagefcontext conf.semanagefcontext
(^|[/\w\.]+/)semanage (user|login|port)\b ^([/\w\.]+\/)?semanage (user|login|port)\b
conf.semanageuser conf.semanageuser
# getsebool # getsebool
(^|[/\w\.]+/)getsebool\b ^([/\w\.]+\/)?getsebool\b
conf.getsebool conf.getsebool
# ulimit # ulimit
(^|[/\w\.]+/)ulimit\b ^([/\w\.]+\/)?ulimit\b
conf.ulimit conf.ulimit
# vmstat # vmstat
(^|[/\w\.]+/)vmstat\b ^([/\w\.]+\/)?vmstat\b
conf.vmstat conf.vmstat
# dnf # dnf
(^|[/\w\.]+/)dnf\b ^([/\w\.]+\/)?dnf\b
conf.dnf conf.dnf
# nmap # nmap
(^|[/\w\.]+/)nmap\b ^([/\w\.]+\/)?nmap\b
conf.nmap conf.nmap
# uptime | w # uptime | w
(^|[/\w\.]+/)(uptime|w)\b ^([/\w\.]+\/)?(uptime|w)\b
conf.uptime conf.uptime
# getfacl # getfacl
(^|[/\w\.]+/)getfacl\b ^([/\w\.]+\/)?getfacl\b
conf.getfacl conf.getfacl
# ntpdate # ntpdate
(^|[/\w\.]+/)ntpdate\b ^([/\w\.]+\/)?ntpdate\b
conf.ntpdate conf.ntpdate
# showmount # showmount
(^|[/\w\.]+/)showmount\b ^([/\w\.]+\/)?showmount\b
conf.showmount conf.showmount
# apache ant command # apache ant command
(^|[/\w\.]+/)ant\b ^([/\w\.]+\/)?ant\b
conf.ant conf.ant
# # apache maven command # # apache maven command
(^|[/\w\.]+/)mvn\b ^([/\w\.]+\/)?mvn\b
conf.mvn conf.mvn
# iwconfig command # iwconfig command
(^|[/\w\.]+/)iwconfig\b ^([/\w\.]+\/)?iwconfig\b
conf.iwconfig conf.iwconfig
# lolcat command # lolcat command
(^|[/\w\.]+/)lolcat\b ^([/\w\.]+\/)?lolcat\b
conf.lolcat conf.lolcat
# whois # whois
(^|[/\w\.]+/)whois\b ^([/\w\.]+\/)?whois\b
conf.whois conf.whois
# go test # go test
(^|[/\w\.]+/)go test\b ^([/\w\.]+\/)?go test\b
conf.go-test conf.go-test
# sockstat command # sockstat command
(^|[/\w\.]+/)sockstat\b ^([/\w\.]+\/)?sockstat\b
conf.sockstat conf.sockstat