Hi, this is one of the test cases which I assume to be invalid but the results show it is valid. It has extra leading zeros. Can anyone tell me why?
why "2001:0db8:85a3:0000:0:8A2E:0370:733a" is valid?

@nanocmp by the task description, IPv6 could have leading zeros up to 4 digits in a group, e.g 0000 is a valid group, where 00000  no

@radistao "2001:0db8:85a3:00000:0:8A2E:0370:7334" then why this is Valid , it has 00000 . maximum 4 digits should be allowed as it is represented in hexadecimal number.

@learneriiith said in why "2001:0db8:85a3:0000:0:8A2E:0370:733a" is valid?:
2001:0db8:85a3:00000:0:8A2E:0370:7334
2001:0db8:85a3:00000:0:8A2E:0370:7334
invalid
2001:0db8:85a3:0000:0:8A2E:0370:733a
valid