case insenstive zonking
This commit is contained in:
parent
d3e480d6fc
commit
600e6d47a3
1 changed files with 2 additions and 1 deletions
3
fun.go
3
fun.go
|
@ -444,7 +444,8 @@ func bitethethumbs() {
|
|||
continue
|
||||
}
|
||||
if wherefore == "zword" {
|
||||
re, err := regexp.Compile("\\b" + name + "\\b")
|
||||
zword := "\\b(?i:" + name + ")\\b"
|
||||
re, err := regexp.Compile(zword)
|
||||
if err != nil {
|
||||
log.Printf("error compiling zword: %s", err)
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue