catching too much stuff
This commit is contained in:
parent
dd484dd6cd
commit
108973ef7b
2
fun.go
2
fun.go
|
@ -151,7 +151,7 @@ func xfiltrate() string {
|
||||||
return s
|
return s
|
||||||
}
|
}
|
||||||
|
|
||||||
var re_hashes = regexp.MustCompile(`(?:^|\W)#[[:alpha:]][[:alnum:]-]*`)
|
var re_hashes = regexp.MustCompile(`(?:^| )#[[:alpha:]][[:alnum:]-]*`)
|
||||||
|
|
||||||
func ontologies(s string) []string {
|
func ontologies(s string) []string {
|
||||||
m := re_hashes.FindAllString(s, -1)
|
m := re_hashes.FindAllString(s, -1)
|
||||||
|
|
Loading…
Reference in New Issue