Module proptest::string [] [src]

Facilities for generating strings and byte strings from regular expressions.

Enums

Error

Errors which may occur when preparing a regular expression for use with string generation.

Functions

bytes_regex

Creates a strategy which generates byte strings matching the given regular expression.

bytes_regex_parsed

Like bytes_regex(), but allows providing a pre-parsed expression.

string_regex

Creates a strategy which generates strings matching the given regular expression.

string_regex_parsed

Like string_regex(), but allows providing a pre-parsed expression.