i will allow hyphens in hashtags
This commit is contained in:
parent
3548aad873
commit
ff756fedae
1 changed files with 1 additions and 1 deletions
2
fun.go
2
fun.go
|
@ -149,7 +149,7 @@ func xfiltrate() string {
|
|||
return s
|
||||
}
|
||||
|
||||
var re_hashes = regexp.MustCompile(`(?:^|\W)#[[:alnum:]]+`)
|
||||
var re_hashes = regexp.MustCompile(`(?:^|\W)#[[:alnum:]-]+`)
|
||||
|
||||
func ontologies(s string) []string {
|
||||
m := re_hashes.FindAllString(s, -1)
|
||||
|
|
Loading…
Reference in a new issue