Skip to content

Generic link parser captures any text with a period inside #42

@jrmontag

Description

@jrmontag

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions