mirror of
https://github.com/garabik/grc.git
synced 2024-11-10 21:26:52 +01:00
53 lines
996 B
Plaintext
53 lines
996 B
Plaintext
# HEADERS
|
|
regexp=(?:\s|^)(REPOSITORY|TAG|IMAGE ID|CREATED|SIZE)(?:\s|$)
|
|
colours=default,underline
|
|
=====
|
|
# REPO, TAG
|
|
regexp=^([a-z]+\/?[^\s]+)\s+([^\s]+)
|
|
colours=default,bold white,cyan,bold black
|
|
=======
|
|
# REPO, TAG, IMAGE ID
|
|
regexp=^([a-z]+\/?[^\s]+)\s+([^\s]+)\s+(\w+)
|
|
colours=default,bold white,bright_cyan,bright_black
|
|
=====
|
|
# latest
|
|
regexp=\s+(latest)\s+
|
|
colours=unchanged,cyan
|
|
=====
|
|
# REPOSITORY (Image name)
|
|
regexp=^(?:([a-z\-_0-9]+)/)*([a-z\-_0-9]+)\s
|
|
colours=default,yellow,bright_white
|
|
=====
|
|
# images without name
|
|
regexp=^<none>.*$
|
|
colours=bold red
|
|
=====
|
|
# Size 'K'
|
|
regexp=\s\d*[\.,]?\d*\s(KB?|B)
|
|
colours=green
|
|
======
|
|
# Size 'M'
|
|
regexp=\s\d*[\.,]?\d*\sMB?
|
|
colours=yellow
|
|
======
|
|
# Size 'G'
|
|
regexp=\s\d*[\.,]?\d*\sGB?
|
|
colours=red
|
|
=====
|
|
# CREATED hours
|
|
regexp=\s+\d+\shours\s\w+
|
|
colours=bright_green
|
|
======
|
|
# CREATED days
|
|
regexp=\s+\d+\sdays\s\w+
|
|
colours=green
|
|
======
|
|
# CREATED weeks
|
|
regexp=\s+\d+\sweeks\s\w+
|
|
colours=yellow
|
|
======
|
|
# CREATED months
|
|
regexp=\s+\d+\smonths\s\w+
|
|
colours=red
|
|
|