Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug on Text Matcher #22

Closed
mu-hasan opened this issue Sep 18, 2017 · 2 comments
Closed

Bug on Text Matcher #22

mu-hasan opened this issue Sep 18, 2017 · 2 comments

Comments

@mu-hasan
Copy link

When I have text "[email protected]", it will have 2 listener:

  • @gmail for mention type
  • gmail.com for hyperlink type

I think your regex to matching the text must be refine with whitespace prefix. For example:

  • hello @username => it will be found as mention
  • hello@username => it won't
  • check it on google.com => found as hyperlink
  • email me at [email protected] => not found as hyperlink
@hanggrian
Copy link
Owner

It seems likely, I'd say with confidence that text watcher is the most unstable feature of this library, as pointed out with this issue I opened. I will be enhancing this feature in coming days (if not weeks), I'll refer this issue in near future when I test it. In the meantime, more test cases would help.

@hanggrian
Copy link
Owner

Closed due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants