geongeorge / i-hate-regex

The code for iHateregex.io 😈 - The Regex Cheat Sheet
https://iHateRegex.io
4.5k stars 320 forks source link

regex for ip address(ipv6) error #68

Open luweijun1992 opened 4 years ago

luweijun1992 commented 4 years ago

Cannot match ipv6 address correctly image

luweijun1992 commented 4 years ago

Can someone answer? Thank you.

geongeorge commented 4 years ago

@luweijun1992 I'm looking into this

can you paste in some examples that is a valid ipv6 but does not work? I cannot read that language

luweijun1992 commented 4 years ago

@luweijun1992 I'm looking into this

can you paste in some examples that is a valid ipv6 but does not work? I cannot read that language

Yes.Can't match properly. Cannot match after "::" image

Examples: fe80::1 fe80:1:1:1:1:1:1:1 2000:192:168:1::1 2000:192:168:1:192:168:1:1

luweijun1992 commented 4 years ago

@luweijun1992 I'm looking into this

can you paste in some examples that is a valid ipv6 but does not work? I cannot read that language

Please reply.

LorenDB commented 3 years ago

I'm seeing this issue too--apparently it hasn't been fixed yet?

M4RC02U1F4A4 commented 8 months ago

@geongeorge are there some news about this issue?

luweijun1992 commented 8 months ago

When will the problem of this rule not matching completely correctly be solved?