share/ (e.g., conf.mycommand)regexp=REGEX
colours=COLOR1,COLOR2,...
echo "ERROR: Something went wrong" | cargo run -- -c conf.mycommand
src/rgrc.conf to load the new config file. after that, the command will be available as rgrc mycommand (or via alias if configured).# Run tests
make test
# Run tests with coverage
make cov
make check
make install
# Uninstall
make uninstall
# Match only once per line
regexp=^\s*#
colours=cyan
count=once
# Replace matched text (with backreferences)
regexp=(ERROR|WARN|INFO)
colours=red,yellow,green
replace=[\1]
# Stop processing after match
regexp=^FATAL
colours=red,bold
count=stop
Count options: once, more (default), stop
Replace: Supports \1, \2, etc.