RELEASE_NOTES.md
RegExpBuilder.with_syntax_highlighting() in the library
as it only makes sense for the CLI.atty has been removed in favor of std::io::IsTerminal in Rust >= 1.70.0.
As a result, Rust >= 1.70.0 is now needed to compile the CLI.clap has been updated to version 4.0. The help output by grex -h now looks a little different.structopt has been replaced with clap providing much nicer help output for the command-line tool.RegExpBuilder in order to replace the enum Feature and make the library API more consistent. (#47)--verbose flag to produce regular expressions which are easier to read (#17)--ignore-case command-line flag or with Feature::CaseInsensitivity in the library (#23)--capture-groups command-line flag or with Feature::CapturingGroup in the library (#15)--min-repetitions and --min-substring-length or using the library methods RegExpBuilder.with_minimum_repetitions() and RegExpBuilder.with_minimum_substring_length() (#10)RegExpBuilder::from_file() (#13)\d, \D, \s, \S, \w, \W is now supportedaaabaaab which were previously converted to ^(aaab){2}$ are now converted to ^(a{3}b){2}$.--colorize command-line flag or with the library method RegExpBuilder.with_syntax_highlighting()^(abc|xyz)$ were missing the outer parentheses. This caused an erroneous match of strings such as abc123 or 456xyz because of precedence rules.a, aa, aaa, aaaa, aaab previously returned the expression ^a{1,4}b?$ which erroneously matches aaaab. Now the correct expression ^(a{3}b|a{1,4})$ is returned.-e flag--with-surrogates flag{min,max} quantifier notation using the -r flag^ and $This is the very first release of grex. It aims at simplifying the construction of regular expressions based on matching example input.
| operator? quantifier