Handbook
Glossary
parse-match ( subject nametable match-data -- match )
Vocabulary
pcre
.
private
Inputs
subject
an
object
nametable
an
object
match-data
an
object
Outputs
match
an
object
Definition
USING:
alien.c-types
alien.data
alien.strings
arrays
assocs
io.encodings.utf8
kernel
sequences
;
IN:
pcre.private
:
parse-match
( subject nametable match-data -- match )
swapd
first2
swap
[
pcre-substring-list
]
keep
void*
<c-direct-array>
[
utf8
alien>string
]
{
}
map-as
[
of
swap
2array
]
with
map-index
;