Skip to content
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

网址正则会匹配到 .... #47

Closed
klaus01 opened this issue Nov 20, 2019 · 4 comments
Closed

网址正则会匹配到 .... #47

klaus01 opened this issue Nov 20, 2019 · 4 comments

Comments

@klaus01
Copy link

klaus01 commented Nov 20, 2019

/^(?:(?:https?|ftp):\/\/)?(?:[\da-z.-]+)\.(?:[a-z.]{2,6})(?:\/\w\.-]*)*\/?/ 这个正则会匹配到....。这是个错误。
屏幕快照 2019-11-20 下午5 53 14

@any86
Copy link
Owner

any86 commented Nov 20, 2019

感谢反馈,嘿

@klaus01
Copy link
Author

klaus01 commented Nov 26, 2019

还没发布么?
https://tools.miku.ac/any_rule/上看到还是老的。

@any86
Copy link
Owner

any86 commented Nov 26, 2019

@klaus01 那个网站不是我的, 我给他发pr了.
Ice-Hazymoon/MikuTools#54

@klaus01
Copy link
Author

klaus01 commented Nov 26, 2019

哦哦,有点尴尬😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants