-
Notifications
You must be signed in to change notification settings - Fork 507
Mention sub name users #5041
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
Conversation
f26714c to
98a4270
Compare
|
/backport to stable20.1 |
|
/backport to stable20 |
danxuliu
left a comment
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 |
danxuliu
left a comment
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 <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
Signed-off-by: Daniel Calviño Sánchez <[email protected]>
a08d0f9 to
e65fa8d
Compare
|
Fixing up |
Steps
Mention to @sub and @subnameMention to @subname and @sub