all repos — honk @ e44896aaa4dbfea7659dffb88ae3748c40f4e10f

my fork of honk

case insenstive zonking
Ted Unangst tedu@tedunangst.com
Thu, 30 May 2019 18:35:31 -0400
commit

e44896aaa4dbfea7659dffb88ae3748c40f4e10f

parent

f7b3efa4db79996be4360f171a0d9459c7bd9407

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M fun.gofun.go

@@ -444,7 +444,8 @@ log.Printf("error scanning zonker: %s", err)

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 {