support - in emus
This commit is contained in:
parent
f8ec7800f4
commit
9df8218fdf
2
fun.go
2
fun.go
|
@ -194,7 +194,7 @@ type Emu struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var re_link = regexp.MustCompile(`@?https?://[^\s"]+[\w/)]`)
|
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 {
|
func herdofemus(noise string) []Emu {
|
||||||
m := re_emus.FindAllString(noise, -1)
|
m := re_emus.FindAllString(noise, -1)
|
||||||
|
|
Loading…
Reference in New Issue