feat(trigger): enhance the regex to match end of the word more correctly
feat(trigger): enhance the regex to match end of the word more correctly

We should care about end of the word – not about encounter first non-word character. This commit
also fix bug with re-creating regex on each prop update.

webscopeio/react-textarea-autocomplete,webscopeio/react-textarea-autocomplete,webscopeio/react-textarea-autocomplete