-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mention sub name users #5041
Mention sub name users #5041
Conversation
f26714c
to
98a4270
Compare
/backport to stable20.1 |
/backport to stable20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using \b
(word boundary)) does not cover all the valid characters in a user name. I have added unit tests that show the issue.
Then I guess we should indeed sort by length first, because |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests pass and code looks good.
Allowing quotes also for user names without spaces should be fine, so 👍
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
a08d0f9
to
e65fa8d
Compare
Fixing up |
Steps
Mention to @sub and @subname
Mention to @subname and @sub