support - in emus
This commit is contained in:
parent
f8ec7800f4
commit
9df8218fdf
1 changed files with 1 additions and 1 deletions
2
fun.go
2
fun.go
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue