all repos — honk @ a363b9819ccca55d46c678c2701464382cb213e3

my fork of honk

last char of mention should not include punctuation
Ted Unangst tedu@tedunangst.com
Tue, 25 Jun 2019 16:44:48 -0400
commit

a363b9819ccca55d46c678c2701464382cb213e3

parent

e83036b3857fa7fb068d5f35c3b966855ed5be9f

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

jump to
M fun.gofun.go

@@ -135,7 +135,7 @@ who string

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