tweet_parser
tweet_parser copied to clipboard
Generic link parser captures any text with a period inside
Capturing this note for potential future enhancement. The current "generic link" regular expression matches any text of the form foo.bar
including missed spaces between sentences, and email domains e.g. gmail.com
. It would be helpful to improve the regex to reduce the number of false positive matches. https://github.com/twitterdev/tweet_parser/blob/3435de8367d36b483a6cfd8d46cc28694ee8a42e/tweet_parser/getter_methods/tweet_text.py#L303