(string-generator regex)
(string-generator regex or-more-limit)
Returns a test.check generator that generates strings matching the given regular
expression regex
. (Fancy flags and POXIX extensions are not suppored; see the doc for
more information about the supported regular expression syntax.) The optional
or-more-limit
controls the maximum numbers of elements that are generated when matching
a potentially unbounded regex (such as #"x*" or #"y+"). The default is 9.
Returns a test.check generator that generates strings matching the given regular expression `regex`. (Fancy flags and POXIX extensions are not suppored; see the doc for more information about the supported regular expression syntax.) The optional `or-more-limit` controls the maximum numbers of elements that are generated when matching a potentially unbounded regex (such as #"x*" or #"y+"). The default is 9.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close