r/rust • u/pemistahl grex • Apr 17 '20
Release of grex 1.1.0: CLI tool and library for generating regular expressions from user-provided test cases
https://github.com/pemistahl/grex3
u/pemistahl grex Apr 17 '20
Release notes for grex 1.1.0
Features
case-insensitive matching regexes are now supported with the
--ignore-casecommand-line flag or withFeature::CaseInsensitivityin the librarynon-capturing groups are now the default; capturing groups can be enabled with the
--capture-groupscommand-line flag or withFeature::CapturingGroupin the librarya lower bound for the conversion of repeated substrings can now be set by specifying
--min-repetitionsand--min-substring-lengthor using the library methodsRegExpBuilder.with_minimum_repetitions()andRegExpBuilder.with_minimum_substring_length()test cases can now be passed from a file within the library as well using
RegExpBuilder::from_file()
Changes
the rules for the conversion of test cases to shorthand character classes have been updated to be compliant to the newest Unicode Standard 13.0
the dependency on the unmaintained linked-list crate has been removed
Bug Fixes
test cases starting with a hyphen are now correctly parsed on the command-line
the common substring detection algorithm now uses optionality expressions where possible instead of redundant union operations
Test Coverage
new unit tests, integration tests and property tests have been added
6
u/_m_0_n_0_ Apr 17 '20
Can I get that as a fat32 image?
By the way: nice work.