Liking cljdoc? Tell your friends :D

miner.strgen


case-insensitive-string-generatorclj/s

(case-insensitive-string-generator regex)
(case-insensitive-string-generator regex or-more-limit)

Like string-generator but case-insensitive so it generates a mix of upper and lowercase characters for the given regex.

Like `string-generator` but case-insensitive so it generates a mix of upper and lowercase
characters for the given regex.
sourceraw docstring

string-generatorclj/s

(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 POSIX 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 POSIX 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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close