mirror of
https://github.com/garabik/grc.git
synced 2024-11-10 21:26:52 +01:00
b7e96762b4
Signed-off-by: Joeky <joeky5888@gmail.com>
28 lines
405 B
Plaintext
28 lines
405 B
Plaintext
# Size 'K'
|
|
regexp=\s\d*[.,]?\dKi?|\b\d{1,3}\b
|
|
colours=green
|
|
======
|
|
# Size 'M'
|
|
regexp=\s\d*[.,]?\dMi?|\b\d{4,6}\b
|
|
colours=yellow
|
|
======
|
|
# Size 'G'
|
|
regexp=\s\d*[.,]?\dGi?|\b\d{7,9}\b
|
|
colours=red
|
|
======
|
|
# Size 'T'
|
|
regexp=\s\d*[.,]?\dTi?|\b\d{10,12}\b
|
|
colours=bold red
|
|
======
|
|
# Mem
|
|
regexp=^Mem
|
|
colours=bold cyan
|
|
======
|
|
# Swap
|
|
regexp=^Swap
|
|
colours=bold magenta
|
|
======
|
|
# Zero
|
|
regexp=\s+0\w?(\s|$)
|
|
colours=green
|