string_pattern 2.0.0
You can easily generate strings supplying a very simple pattern. '10-20:Xn/x/'.generate #>qBstvc6JN8ra. Now generate random strings using a regular expression (Regexp): /[a-z0-9]{2,5}w+/.gen . Also, you can validate if a text fulfills a specific pattern or even generate a string following a pattern and returning the wrong length, value... for testing your applications.
Gemfile:
=
install:
=
Runtime Dependencies (1):
regexp_parser
~> 1.3, >= 1.3.0