Handbook
Glossary
parse-ipv6 ( string -- seq )
Vocabulary
ip-parser
Inputs
string
an
object
Outputs
seq
an
object
Definition
USING:
ip-parser.private
kernel
sequences
splitting
;
IN:
ip-parser
:
parse-ipv6
( string -- seq )
"%"
split1
drop
"::"
split1
[
[
f
]
[
split-ipv6
]
if-empty
]
bi@
pad-ipv6
;