deregex

Crates.ioderegex
lib.rsderegex
version0.1.0
sourcesrc
created_at2019-12-01 01:52:43.70463
updated_at2019-12-01 01:52:43.70463
descriptionA tool to show all possible and shortest strings which matches the given regex.
homepagehttps://github.com/toku-sa-n/deregex
repositoryhttps://github.com/toku-sa-n/deregex
max_upload_size
id185642
size20,407
Hiroki Tokunaga (toku-sa-n)

documentation

README

decompress_regex

A tool which lists all sentences which match the inputted regex.

How to use

Run deregex and type regex from stdin.

Currently supported regex symbols

Symbol Description ${regex} echo ${regex} | deregex
? Repeat just before character 0 times or once abc? abc ab
| Match before | or after | foo|bar foo bar

** No ascii characters are not supported! **

Example

$deregex
abc
abc
abc?
abc
ab
foo|bar
bar
foo
f?o?o?|b?a?r?
ar
br
ba
fo
a
r
f
bar
oo

o
b
foo
^D
$

License

The same license as Rust.

Commit count: 32

cargo fmt