Handbook
Glossary
<or> ( regexps -- disjunction )
Regular expression combinators
Prev:
<nothing> ( -- value )
Next:
<and> ( regexps -- conjunction )
Vocabulary
regexp
.
combinators
Inputs
regexps
a sequence of regular expressions
Outputs
disjunction
a
regexp
Word description
Creates a new regular expression which matches the union of what elements of the sequence match.
Definition
USING:
accessors
kernel
regexp
regexp.ast
sequences
;
IN:
regexp.combinators
:
<or>
( regexps -- disjunction )
[
[
raw>>
"("
")"
surround
]
map
"|"
join
]
[
[
parse-tree>>
]
map
<alternation>
]
bi
make-regexp
;
foldable
flushable