Skip to content

Commit 149e11d

Browse files
Jishnu-PramodJishnu-Pramod
authored andcommitted
update documentation to include the references
1 parent de7af45 commit 149e11d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

maths/is_ipv6_address_valid.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
"""
22
Validate IPv6 addresses (full and compressed forms).
33
4+
References:
5+
- Wikipedia: https://en.wikipedia.org/wiki/IPv6_address
6+
- RFC 4291: https://tools.ietf.org/html/rfc4291
7+
48
Rules implemented (subset of RFC 4291):
59
- Hex groups are 1-4 hex digits (0-9, a-f, A-F).
610
- Exactly 8 groups in total. A single '::' may compress one or more groups of

0 commit comments

Comments
 (0)