mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-29 03:20:32 +00:00
spelling: because
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
54285e4bcd
commit
fb74c1977e
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ def find_mentions(user, content):
|
|||
if not content:
|
||||
return {}
|
||||
# The regex has nested match groups, so the 0th entry has the full (outer) match
|
||||
# And beacuse the strict username starts with @, the username is 1st char onward
|
||||
# And because the strict username starts with @, the username is 1st char onward
|
||||
usernames = [m[0][1:] for m in re.findall(regex.STRICT_USERNAME, content)]
|
||||
|
||||
known_users = (
|
||||
|
|
Loading…
Reference in a new issue