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 regex not working (with non capturing groups imbricated and negative lookahead) #24

Open
David-Lannion opened this issue Sep 12, 2023 · 0 comments

Comments

@David-Lannion
Copy link

Trying IP regex :
^(?:(?:1\d{2}|[1-9]?\d|2[0-4]\d|25[0-5])(?:\.(?!$)|$)){4}$
Is generating :
255.226124138.
9253252.112
96.119.163.252.
251.106.136.16
Only the last one is good

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