support - in emus

This commit is contained in:
Ted Unangst 2019-07-09 23:04:19 -04:00
parent f8ec7800f4
commit 9df8218fdf
1 changed files with 1 additions and 1 deletions

2
fun.go
View File

@ -194,7 +194,7 @@ type Emu struct {
}
var re_link = regexp.MustCompile(`@?https?://[^\s"]+[\w/)]`)
var re_emus = regexp.MustCompile(`:[[:alnum:]_]+:`)
var re_emus = regexp.MustCompile(`:[[:alnum:]_-]+:`)
func herdofemus(noise string) []Emu {
m := re_emus.FindAllString(noise, -1)