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

我有更好的正则: ip-v4[:端口] #310

Open
chorar opened this issue Apr 18, 2024 · 0 comments
Open

我有更好的正则: ip-v4[:端口] #310

chorar opened this issue Apr 18, 2024 · 0 comments

Comments

@chorar
Copy link

chorar commented Apr 18, 2024

^(([01]?\d\d?|2[0-4]\d|25[0-5])((:([1-9]\d{0,3}|[1-5]\d{4}|6[0-4]\d{3}|65[0-4]\d{2}|655[0-2]\d|6553[0-5]))?$|\.(?!$))){4}
image

@chorar chorar changed the title 我有更好的正则: 日期(严谨, 支持闰年判断) 我有更好的正则: ip-v4[:端口] Apr 19, 2024
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

1 participant