regexp.private vocabulary - Factor Documentation (original) (raw)

Summary

Metadata

Parents: regexp

Words

Generic words

Word Stack effect
compile-regexp ( regex -- regexp )
end/start ( string regexp -- end start )
match-iterator-start ( string regexp -- start )

Ordinary words

Word Stack effect
(each-match) ( ... i string regexp quot: ( ... start end string -- ... ) -- ... )
(each-match-backward) ( ... i string regexp quot: ( ... start end string -- ... ) -- ... )
(each-match-forward) ( ... i string regexp quot: ( ... start end string -- ... ) -- ... )
(next-match) ( i string regexp quot: ( i string regexp -- j ) reverse? -- start end ? )
(re-split) ( string regexp quot -- pieces )
( ast -- reversed )
compile-next-match ( regexp -- regexp )
do-next-match ( i string regexp -- start end ? )
get-ast ( regexp -- ast )
match-index-from ( i string regexp -- index/f )
next-initial-word ( i string regexp -- start end string )
next-match ( i string regexp quot: ( i string regexp -- j ) reverse? -- start end ? )
parse-noblank-token ( lexer -- str/f )
parse-regexp ( accum -- accum )
prepare-match-iterator ( string regexp -- i string regexp )
regexp-initial-word ( i string regexp -- i/f )
search-range ( i string reverse? -- seq )
take-until ( lexer -- string )

Files

resource:basis/regexp/regexp.factor
resource:basis/regexp/regexp-docs.factor
resource:basis/regexp/regexp-tests.factor