catching too much stuff

This commit is contained in:
Ted Unangst 2019-08-28 11:58:57 -04:00
parent dd484dd6cd
commit 108973ef7b
1 changed files with 1 additions and 1 deletions

2
fun.go
View File

@ -151,7 +151,7 @@ func xfiltrate() string {
return s
}
var re_hashes = regexp.MustCompile(`(?:^|\W)#[[:alpha:]][[:alnum:]-]*`)
var re_hashes = regexp.MustCompile(`(?:^| )#[[:alpha:]][[:alnum:]-]*`)
func ontologies(s string) []string {
m := re_hashes.FindAllString(s, -1)