Handbook
Glossary
ansi-escape-length ( str -- n )
Vocabulary
io
.
streams
.
escape-codes
.
private
Inputs
str
an
object
Outputs
n
an
object
Definition
USING:
kernel
math
regexp
;
IN:
io.streams.escape-codes.private
:
ansi-escape-length
( str -- n )
[
0
]
dip
ansi-escape-regexp
[
drop
swap
-
+
]
each-match
;