terminator doesn't work on first character
cbarraford opened this issue · comments
If i GetTags
on "### #. # the #foo #bar #baz #baz."
and supply all special characters as runes (ie var specials = []rune(".=+-~,/ <>?[]{})(*&^%$#@!;:\"'|\\")
), the resulting answer i get back is
achievements_test.go:27:
c.Check(tags, DeepEquals, []string{"bar", "baz", "foo"})
... obtained []string = []string{"#", ".", "bar", "baz", "foo"}
... expected []string = []string{"bar", "baz", "foo"}
I only want my tags to be alphanumeric, and I can't seem to get that to work out of the box.