all repos — honk @ 43d890847e104fb2f2083f4f9931287a9ac82633

my fork of honk

the avatar regexp should match the meme one. keep together.
Ted Unangst tedu@tedunangst.com
Tue, 26 Nov 2019 13:48:39 -0500
commit

43d890847e104fb2f2083f4f9931287a9ac82633

parent

d33a14dd21198256e64e406e08aecfb74109d4c6

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

jump to
M fun.gofun.go

@@ -341,6 +341,7 @@ return emus

} var re_memes = regexp.MustCompile("meme: ?([^\n]+)") +var re_avatar = regexp.MustCompile("avatar: ?([^\n]+)") func memetize(honk *Honk) { repl := func(x string) string {
M web.goweb.go

@@ -1102,8 +1102,6 @@ log.Print(err)

} } -var re_avatar = regexp.MustCompile("avatar: ?([[:alnum:]_.-]+)") - func saveuser(w http.ResponseWriter, r *http.Request) { whatabout := r.FormValue("whatabout") u := login.GetUserInfo(r)