Handbook
Glossary
re-contains? ( string regexp -- ? )
Regular expressions
ยป
Matching operations with regular expressions
Prev:
matches? ( string regexp -- ? )
Next:
first-match ( string regexp -- slice/f )
Vocabulary
regexp
Inputs
string
a
string
regexp
a
regexp
Outputs
?
a
boolean
Word description
Determines whether the string has a substring which matches the regular expression given.
Definition
USING:
kernel
regexp.private
;
IN:
regexp
:
re-contains?
( string regexp -- ? )
prepare-match-iterator
do-next-match
2nip
>boolean
;