Updated regex-syntax
dependency.
Depends on rand 0.8
and regex-syntax 0.8
.
Updated regex-syntax
dependency.
Depends on rand 0.8
and regex-syntax 0.7
. The minimal Rust version is 1.71.1.
No longer enables all default rand
features.
Updated rand
dependency.
Depends on rand 0.8
and regex_syntax 0.6
. The minimal Rust version is 1.40.
Added Regex::is_ascii()
method to check if the regex is ASCII-only.
Added type Encoding
to represent ASCII, UTF-8 or binary encoding.
Added Regex::encoding()
method to return the narrowest string encoding.
Added type EncodedString
to adjoin a byte string with its encoding.
Added an additional impl Distribution<EncodedString> for Regex
.
Added an additional impl Distribution<Result<String, FromUtf8Error>> for Regex
.
Increased minimal Rust version.
Depends on rand 0.7
and regex_syntax 0.6
. The minimal Rust version is 1.40.
Improved generation algorithm. Sampling performance of regex involving lots of character classes are greatly improved.
Regex | v0.13.1 | v0.14.0 |
---|---|---|
[0-9a-zA-Z]{10,20} |
268 ns | 150 ns |
(?s:.{10}) |
209 ns | 190 ns |
Updated rand
dependency.
Depends on rand 0.7
and regex_syntax 0.6
. The minimal Rust version is 1.32.
Updated rand
dependency.
Depends on rand 0.6
and regex_syntax 0.6
. The minimal Rust version is 1.30.
Initial version.
Depends on rand 0.5
and regex_syntax 0.6
. The minimal Rust version is 1.30.