Clojure library to generate random strings from regular expressions
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
README.md
project.clj

README.md

re-rand is a Clojure library for generating random strings from regular expressions.

Examples

=> (use 're-rand)
=> (re-rand #"[A-Z]{4}")
"UTFR"
=> (re-rand #".+:\d+")
"s9QziMg1:85592"
=> (re-rand #"[^0-9][0-9]")
"i2"
=> (re-rand #"b(an)+a")
["bananananananana" "an"]