gernest / mention

Twitter like mentions and #hashtags parser for Go(Golang)
MIT License
107 stars 14 forks source link

Don't return a mention that is a terminator #6

Closed cbarraford closed 7 years ago

cbarraford commented 7 years ago

Fixes https://github.com/gernest/mention/issues/5

This is intended that if we have a terminator that is , or @, that we don't return a mention that is just that terminator

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-4.6%) to 88.732% when pulling d522cf478522b59935609b380a0c2d1f8a770d29 on CBarraford:master into cef3e3edded21dae0df73a894c757254128b4874 on gernest:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.8%) to 94.118% when pulling 0aa040c67cd22aae0e8e6503901713ce96dd07ae on CBarraford:master into cef3e3edded21dae0df73a894c757254128b4874 on gernest:master.

gernest commented 7 years ago

Thanks @CBarraford