Handbook
Glossary
<literal> ( string -- regexp )
Regular expression combinators
Prev:
Regular expression combinator rationale
Next:
<nothing> ( -- value )
Vocabulary
regexp
.
combinators
Inputs
string
a
string
Outputs
regexp
a
regexp
Word description
Creates a regular expression which matches the given literal string.
Definition
USING:
kernel
regexp
regexp.ast
sequences
;
IN:
regexp.combinators
:
<literal>
( string -- regexp )
[
"\\Q"
"\\E"
surround
]
[
<concatenation>
]
bi
make-regexp
;
foldable
flushable