Handbook
Glossary
<zero-or-more> ( regexp -- regexp* )
Regular expression combinators
Prev:
<sequence> ( regexps -- regexp )
Next:
<one-or-more> ( regexp -- regexp+ )
Vocabulary
regexp
.
combinators
Inputs
regexp
a
regexp
Outputs
regexp*
a
regexp
Word description
Creates a new regular expression which matches zero or more copies of the given regexp.
Definition
USING:
regexp.ast
regexp.combinators.private
sequences
;
IN:
regexp.combinators
:
<zero-or-more>
( regexp -- regexp* )
[
"("
")*"
surround
]
[
<star>
]
modify-regexp
;
foldable
flushable