Handbook
Glossary
<option> ( regexp -- regexp? )
Regular expression combinators
Prev:
<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 one copies of the given regexp.
Definition
USING:
regexp.ast
regexp.combinators.private
sequences
;
IN:
regexp.combinators
:
<option>
( regexp -- regexp? )
[
"("
")?"
surround
]
[
<maybe>
]
modify-regexp
;
foldable
flushable