devRantron icon indicating copy to clipboard operation
devRantron copied to clipboard

Username mention parsing issue

Open Mitch528 opened this issue 7 years ago • 2 comments

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.

Mitch528 avatar Jan 26 '18 01:01 Mitch528

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

tahnik avatar Jan 26 '18 11:01 tahnik

@tahnik I'm using version 1.5.2.

Mitch528 avatar Jan 26 '18 18:01 Mitch528