This library helps you generate random strings from regular expressions.
It is not tested yet, but in most cases it works. What is missing so far, is
Create a generator that produces strings based on regular expressions.
generate ASCII 200 "a-z*" of
Ok result ->
( model, Random.generate GenResult result )
Err msg ->
( { model | result = msg }, Cmd.none )Create a generator that produces UNICODE strings based on a regular
expression. Infinty is set to max 100, if you are using modifiers such as
* or +. It is a shortcut for function generate.
Encoding defines the type of random characters to generate, for example for
the . dot operator.
- `ASCII` : will generate values between 0 and 255
- `UNICODE` : will generate 16 bit values
Create a generator that produces ASCII strings based on a regular expression. Infinty is set to max 100, if you are using modifiers such as
*or+. It is a shortcut for functiongenerate.