Handbook
Glossary
<sequence> ( regexps -- regexp )
Regular expression combinators
Prev:
<not> ( regexp -- not-regexp )
Next:
<zero-or-more> ( regexp -- regexp* )
Vocabulary
regexp
.
combinators
Inputs
regexps
a sequence of regular expressions
Outputs
regexp
a
regexp
Word description
Creates a new regular expression which matches strings that match each element of the sequence in order.
Definition
USING:
accessors
kernel
regexp
regexp.ast
sequences
;
IN:
regexp.combinators
:
<sequence>
( regexps -- regexp )
[
[
raw>>
]
map
concat
]
[
[
parse-tree>>
]
map
<concatenation>
]
bi
make-regexp
;
foldable
flushable