mirror of
https://github.com/garabik/grc.git
synced 2024-11-15 14:48:26 +01:00
Merge pull request #1 from tasnad/tasnad-patch
Fix: brackets, address scope; match process name
This commit is contained in:
commit
90de144c31
1 changed files with 11 additions and 7 deletions
|
@ -1,6 +1,14 @@
|
||||||
# Local Address:Port
|
# status
|
||||||
regexp=\s((?:\d+\.){3}\d+|\*|::1?|[\w\d\-\_\.]+):(\S+)\s+\s((?:\d+\.){3}\d+|\*|::1?|[\w\d\-\_\.]+):(\S+)
|
regexp=\[.*\]
|
||||||
colours=default,bright_green,bright_red,cyan,magenta
|
colours=green
|
||||||
|
=======
|
||||||
|
# Local Address:Port Peer Address:Port
|
||||||
|
regexp=\s((?:\d+\.){3}\d+|\*|\[?::1?\]?|[\w\d\-\_\.]+)(%[\w\d]+)?:(\S+)\s+\s((?:\d+\.){3}\d+|\*|\[?::1?\]?|[\w\d\-\_\.]+):(\S+)
|
||||||
|
colours=default,bright_green,blue,bright_red,cyan,magenta
|
||||||
|
=======
|
||||||
|
# process name
|
||||||
|
regexp=\("([^"]+)",
|
||||||
|
colours=blue
|
||||||
=======
|
=======
|
||||||
# ipx hostname
|
# ipx hostname
|
||||||
regexp=^IPX.*[\dABCDEF]+:[\dABCDEF]+
|
regexp=^IPX.*[\dABCDEF]+:[\dABCDEF]+
|
||||||
|
@ -67,10 +75,6 @@ colours=green
|
||||||
regexp=UNKNOWN
|
regexp=UNKNOWN
|
||||||
colours=blink bold red
|
colours=blink bold red
|
||||||
=======
|
=======
|
||||||
# status
|
|
||||||
regexp=\[.*\]
|
|
||||||
colours=green
|
|
||||||
=======
|
|
||||||
# path
|
# path
|
||||||
regexp=(\@)[\dabcdef]+
|
regexp=(\@)[\dabcdef]+
|
||||||
colours=green, bold green
|
colours=green, bold green
|
||||||
|
|
Loading…
Reference in a new issue