You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ccat/regcolor.go

11 lines
183 B
Go

package main
import "regexp"
// A regColor is a regex-color pair. The config file is read
// into a stack of this data type.
type regColor struct {
re *regexp.Regexp
clr color
}