the avatar regexp should match the meme one. keep together.

master
Ted Unangst 5 years ago
parent 12f7cf6ec3
commit 02433181f4

@ -341,6 +341,7 @@ func herdofemus(noise string) []Emu {
}
var re_memes = regexp.MustCompile("meme: ?([^\n]+)")
var re_avatar = regexp.MustCompile("avatar: ?([^\n]+)")
func memetize(honk *Honk) {
repl := func(x string) string {

@ -1102,8 +1102,6 @@ func honkpage(w http.ResponseWriter, u *login.UserInfo, honks []*Honk, templinfo
}
}
var re_avatar = regexp.MustCompile("avatar: ?([[:alnum:]_.-]+)")
func saveuser(w http.ResponseWriter, r *http.Request) {
whatabout := r.FormValue("whatabout")
u := login.GetUserInfo(r)

Loading…
Cancel
Save