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

username with dot and hyphen not recognized. #6

Open
sherwin14 opened this issue Sep 4, 2022 · 0 comments
Open

username with dot and hyphen not recognized. #6

sherwin14 opened this issue Sep 4, 2022 · 0 comments

Comments

@sherwin14
Copy link

sherwin14 commented Sep 4, 2022

Everything is working until i entered a username with dot and hyphen.

@user.pretty - not working
@user-pretty - not working
@user_pretty - working (but only @user turned to green in ui)

here is my regex. "(@[a-zA-Z0-9._-]{2,50}\b)"

i tried debugging the list here is the result:
[@user.pretty, @user-pretty, @user_pretty]

in ui here is result:
image

every mentions should be in color green..

Can you help me with this?

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

1 participant