Skip to content
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

@username doesn't work if username contains a hyphen #5453

Closed
robatino opened this issue Aug 12, 2023 · 1 comment · Fixed by #5525
Closed

@username doesn't work if username contains a hyphen #5453

robatino opened this issue Aug 12, 2023 · 1 comment · Fixed by #5525
Labels
EasyFix These are good issues to get started with if you are new to the project low-trouble medium-gain

Comments

@robatino
Copy link

I attempted to reply in Bodhi to user "roman-averin" using the @ sign, but it only recognizes the part of the username before the hyphen. For example, see https://bodhi.fedoraproject.org/updates/FEDORA-2023-ee241dcf80 . I saw no way to make it work so just removed my attempt. If there is a way to do it, it needs to be documented. The link to Fedora-Flavored Markdown says nothing.

@mattiaverga
Copy link
Contributor

Hopefully, it just needs to better define the regex at
MENTION_RE = r'(?<!\S)(@\w+)'

@mattiaverga mattiaverga added the EasyFix These are good issues to get started with if you are new to the project label Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EasyFix These are good issues to get started with if you are new to the project low-trouble medium-gain
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants