-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Is it expected behaviour that LIKE_URL also matches on e-mail addresses? #1698
Comments
Thanks for the report 👍 This is definitely not intentional. For performance reasons, the Lines 76 to 95 in 51d3ab2
I'll add a |
FYI, I added an
and it seems to works fine. I'd love to add the fix, but I'm too much of a newbie to be trusted to do that! |
@Bri-Will Thanks for updating – nice to hear that it's working!
Don't worry – of course, you don't have to, but if you'd like to submit your first PR, I'm happy to assist! Your fix looks fine and you don't have to worry about adding tests for now (I'll take care of this later). The easiest way is to just fork spaCy so it's added to your GitHub account. Then add the fix and push it to your fork, go to the New Pull Request page and hit "Compare across forks". Select your fork as the head repo, and your change should show up. You can then create a new pull request, write a sentence describing the change and submit it 🎉 There's actually very little that can go wrong – all new PRs are tested and we'll review them before merging, so you can't break anything. |
OK, I've done this and submitted a pull request (I did not add tests for this) |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
For the code below, an e-mail address triggers both matching rules:
Results:
[(17587345535198158200, 4, 5), (2582013287274679728, 4, 5), (2582013287274679728, 11, 12)]
Seems like they should be distinct...I didn't think an "@" symbol could be present in a URL...
Your Environment
The text was updated successfully, but these errors were encountered: