Use my regex engine instead of the stdlib one
parent
23e9c5d58d
commit
40858a673a
@ -1,11 +1,14 @@
|
||||
module gitea.twomorecents.org/Rockingcool/ccat
|
||||
|
||||
go 1.22.5
|
||||
go 1.23.1
|
||||
|
||||
toolchain go1.24.2
|
||||
|
||||
require (
|
||||
github.com/fatih/color v1.17.0 // indirect
|
||||
gitea.twomorecents.org/Rockingcool/kleingrep v0.7.0 // indirect
|
||||
github.com/fatih/color v1.18.0 // indirect
|
||||
github.com/mattn/go-colorable v0.1.13 // indirect
|
||||
github.com/mattn/go-isatty v0.0.20 // indirect
|
||||
golang.org/x/sys v0.18.0 // indirect
|
||||
golang.org/x/sys v0.25.0 // indirect
|
||||
gopkg.in/yaml.v2 v2.4.0 // indirect
|
||||
)
|
||||
|
@ -1,10 +1,10 @@
|
||||
package main
|
||||
|
||||
import "regexp"
|
||||
import "gitea.twomorecents.org/Rockingcool/kleingrep/regex"
|
||||
|
||||
// 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
|
||||
re *regex.Reg
|
||||
clr color
|
||||
}
|
||||
|
Loading…
Reference in New Issue