Crates.io | deregex |
lib.rs | deregex |
version | 0.1.0 |
source | src |
created_at | 2019-12-01 01:52:43.70463 |
updated_at | 2019-12-01 01:52:43.70463 |
description | A tool to show all possible and shortest strings which matches the given regex. |
homepage | https://github.com/toku-sa-n/deregex |
repository | https://github.com/toku-sa-n/deregex |
max_upload_size | |
id | 185642 |
size | 20,407 |
A tool which lists all sentences which match the inputted regex.
Run deregex
and type regex from stdin.
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! **
$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
$
The same license as Rust.