SocialTextView icon indicating copy to clipboard operation
SocialTextView copied to clipboard

username with dot and hyphen not recognized.

Open sherwin14 opened this issue 3 years ago • 0 comments

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?

sherwin14 avatar Sep 04 '22 09:09 sherwin14