all repos — honk @ a16ffbfb7006fd366bfb38591e6b674c745f9ca1

my fork of honk

more flexible re for mentions
Ted Unangst tedu@tedunangst.com
Thu, 16 May 2019 17:37:43 -0400
commit

a16ffbfb7006fd366bfb38591e6b674c745f9ca1

parent

4ca6b2066b111e832ea94ce6d7530aeea073b567

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M fun.gofun.go

@@ -96,7 +96,7 @@ who string

where string } -var re_mentions = regexp.MustCompile(`@[[:alnum:]]+@[[:alnum:].]+`) +var re_mentions = regexp.MustCompile(`@[[:alnum:]._-]+@[[:alnum:].-]+`) var re_urltions = regexp.MustCompile(`@https://\S+`) func grapevine(s string) []string {