Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

Username mention parsing issue #247

Open
Mitch528 opened this issue Jan 26, 2018 · 2 comments
Open

Username mention parsing issue #247

Mitch528 opened this issue Jan 26, 2018 · 2 comments
Assignees
Labels
bug A software bug

Comments

@Mitch528
Copy link

Currently if a user has more than one dash in their name, the mention will cut off at the first dash. The current regular expression for parsing usernames is @(\w+[-]*\w*) (here).

I think changing it to something like @([a-zA-Z0-9_-]+) should fix it.

@tahnik
Copy link
Owner

tahnik commented Jan 26, 2018

@Mitch528 could you please tell mewhat version are you using? I remember fixing this.

@tahnik tahnik self-assigned this Jan 26, 2018
@tahnik tahnik added the bug A software bug label Jan 26, 2018
@Mitch528
Copy link
Author

@tahnik I'm using version 1.5.2.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug A software bug
Projects
None yet
Development

No branches or pull requests

2 participants