grex icon indicating copy to clipboard operation
grex copied to clipboard

A command-line tool and Rust library with Python bindings for generating regular expressions from user-provided test cases

Results 20 grex issues
Sort by recently updated
recently updated
newest added

Hi, I want to run this on a billion-sized low entropy case-insensitive UTF-8 input with a variable number of characters up to approximately 256 bytes each. The data comply to...

enhancement

For example: ```text ``` diff: ```text aid=303065226&bvid=BV1dP411n7bc&cid=833485551 aid=261233537&bvid=BV1xe411j7EQ&cid=851171461 aid=558528772&bvid=BV1Ee4y1r7wX&cid=848823074 aid=455751094&bvid=BV1U5411s7RU&cid=383073940 ``` regex: ```text aid=([0-9]+)&bvid=([0-9a-zA-Z]+)&cid=([0-9]+) ``` current output `grex -f grex.txt -g`: ```regex $ suliveevil@swy-M1 ~ % grex -f grex.txt -r...

new feature

Currently grex appears to generate PCRE but is it possible to also have a flag which enables generation of POSIX BRE and ERE?

new feature

Bumps [clap](https://github.com/clap-rs/clap) from 4.5.4 to 4.5.8. Release notes Sourced from clap's releases. v4.5.8 [4.5.8] - 2024-06-28 Fixes Reduce extra flushes v4.5.7 [4.5.7] - 2024-06-10 Fixes Clean up error message when...

dependencies
rust

Hi @pemistahl and many thanks for this great piece of software. I'd like to report a little issue which I'm sure can easily be fixed. ```bash $ grex --version grex...

Bumps [regex](https://github.com/rust-lang/regex) from 1.10.4 to 1.10.5. Changelog Sourced from regex's changelog. 1.10.5 (2024-06-09) This is a new patch release with some minor fixes. Bug fixes: [BUG #1203](rust-lang/regex#1203): Escape invalid UTF-8...

dependencies
rust

Bumps [rstest](https://github.com/la10736/rstest) from 0.19.0 to 0.21.0. Release notes Sourced from rstest's releases. 0.21.0 Use crate-name feature to enable the crate rename support (enabled by default) 0.20.0 Introduce #[by_ref] and add...

dependencies
rust

Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.12.1 to 0.13.0. Changelog Sourced from itertools's changelog. 0.13.0 Breaking Removed implementation of DoubleEndedIterator for ConsTuples (#853) Made MultiProduct fused and fixed on an empty iterator (#835,...

dependencies
rust

First of all, thanks a lot for this tool. The idea looks really good and promising but I couldn't understand what the actual use case was. The documentation lacks in...

Bumps [petgraph](https://github.com/petgraph/petgraph) from 0.6.4 to 0.6.5. Changelog Sourced from petgraph's changelog. Version 0.6.5 (2024-05-06) Add rayon support for GraphMap ([#573](https://github.com/petgraph/petgraph/issues/573), [#615](https://github.com/petgraph/petgraph/issues/615)) Add Topo::with_initials method ([#585](https://github.com/petgraph/petgraph/issues/585)_) Add logo to the project...

dependencies
rust