-
Notifications
You must be signed in to change notification settings - Fork 206
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
Instagram Mentions Allows Periods #343
Comments
Good point! The edge case I can think of is someone mentioning someone at the end of a sentence and not adding a space at the end: "Nice post by @username.Check it out" --> [@username.Check] If the period is followed by a space then we can make sure the regex doesn't match it, only if word characters follow it. Are there other characters that need to be handled? Thanks for reporting. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Elias,
Comments on Instagram that include mentions with periods are currently truncated on
advertools.__version__ = 0.14.2
.Example:
@elias.dabbas -> [@elias]
I propose adding adding a
.
to the MENTIONS in the REGEX module.This change works for me, but I haven't tested edge cases or other social media platforms.
The text was updated successfully, but these errors were encountered: