require a letter in hashtags. sorry #1
This commit is contained in:
parent
2c8204f6b6
commit
fe1ef8d89e
2
fun.go
2
fun.go
|
@ -256,7 +256,7 @@ func xfiltrate() string {
|
||||||
return xcelerate(b[:])
|
return xcelerate(b[:])
|
||||||
}
|
}
|
||||||
|
|
||||||
var re_hashes = regexp.MustCompile(`(?:^| )#[[:alnum:]][[:alnum:]_-]*`)
|
var re_hashes = regexp.MustCompile(`(?:^| )#[[:alnum:]]*[[: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