devRantron
devRantron copied to clipboard
Username mention parsing issue
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 could you please tell mewhat version are you using? I remember fixing this.
@tahnik I'm using version 1.5.2.