make help case insensitive
This commit is contained in:
parent
202a3436de
commit
67084595ab
2
main.go
2
main.go
@ -59,7 +59,7 @@ func main() {
|
|||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
var help = `^help: (\w+)$`
|
var help = `(?i)^help: (\w+)$`
|
||||||
var helpRE = regexp.MustCompile(help)
|
var helpRE = regexp.MustCompile(help)
|
||||||
var kvRE = regexp.MustCompile(`^(.+)\s->\s(.+)$`)
|
var kvRE = regexp.MustCompile(`^(.+)\s->\s(.+)$`)
|
||||||
store, err := NewStore(db)
|
store, err := NewStore(db)
|
||||||
|
Loading…
Reference in New Issue
Block a user