Skip to content

Clojure library to generate random strings from regular expressions

Notifications You must be signed in to change notification settings

weavejester/re-rand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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"]

About

Clojure library to generate random strings from regular expressions

Resources

Stars

Watchers

Forks

Packages

No packages published