require a letter in hashtags. sorry #1
Ted Unangst tedu@tedunangst.com
Tue, 05 Nov 2019 02:51:30 -0500
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
fun.go
→
fun.go
@@ -256,7 +256,7 @@ rand.Read(b[:])
return xcelerate(b[:]) } -var re_hashes = regexp.MustCompile(`(?:^| )#[[:alnum:]][[:alnum:]_-]*`) +var re_hashes = regexp.MustCompile(`(?:^| )#[[:alnum:]]*[[:alpha:]][[:alnum:]_-]*`) func ontologies(s string) []string { m := re_hashes.FindAllString(s, -1)