Skip to content

Conversation

@quentint
Copy link

Not sure I understand this regex (or why it is useful at all) but it prevents usernames with dashes in it (eg. "Jean-Marc"). I think the - in @-_ is missing escaping and therefore allows characters from @ to _ instead of allowing characters @, -, and _.

But I might be wrong!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant