-
Notifications
You must be signed in to change notification settings - Fork 186
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
URL detection result of find method changed in v3 ? #351
Comments
Hi @sunadoi, thanks for reporting. The reasons for this regression in v3 are a bit complex related to the extended parsing I added to support Internationalized Domain Names (IDN). The parser now recognizes I believe I can fix this by making a distinction in the parser between ASCII words and non-ASCII words. Unfortunately, because of ambiguity in these types of examples, the best I can get with this plugin will be the following (I used
I hope that works for you because I unfortunately I cannot think of a good strategy to cover all edge cases like this. |
Thank you for your kind explanation. |
Fixed in the latest v4 release. |
When using find method to detect URL, I found that the detection results were different in v3 when there were no spaces before and after the URL.
v2
v3
Is this expected behavior?
If so, I would like to see the following fix, even if it’s only for multi-byte characters, because we often write like this in Japanese.
ref: #315
The text was updated successfully, but these errors were encountered: