From 9df8218fdf11ef7c779f5f821ce7628c2f945da2 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Tue, 9 Jul 2019 23:04:19 -0400 Subject: [PATCH] support - in emus --- fun.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fun.go b/fun.go index f8aa0ec..3aaac12 100644 --- a/fun.go +++ b/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)