Skip to content

username with dot and hyphen not recognized. #6

Description

@sherwin14

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions