TXT2REGEX(1) | General Commands Manual | TXT2REGEX(1) |
txt2regex -- console regular expression wizard
txt2regex [--nocolor|--whitebg] [--all|--prog programs]
txt2regex --showmeta
txt2regex --showinfo program [--nocolor]
txt2regex --history value [--all|--prog programs]
txt2regex --make label [--all|--prog programs]
txt2regex is a regular expression wizard that converts human sentences to regexes.
In a simple interactive console interface, the user answer questions and txt2regex builds the regexes for more than 20 programs.
https://aurelio.net/projects/txt2regex/
txt2regex
txt2regex --prog perl,python,php,javascript
txt2regex --showmeta
txt2regex --showinfo sed
txt2regex --history '16421¤:01¤:'
txt2regex --make hour txt2regex --make number3 --prog perl txt2regex --make date2 --all
+---------------------------------------+ | Top menu | | Group menu | | | | Regexes of the selected programs | | ... | | ... | | | | History | | Prompt | | | | The question | | The answers | | ... | | ... | +---------------------------------------+
. | Quit the program (with confirmation) |
0 | Reset the regular expression |
1-9 | Answers the questions |
* | Toggles color ON/OFF |
/ | Add/remove programs |
| | Insert an alternation (where allowed) |
( | Open a new group (where allowed) |
) | Close the opened group (if any) |
https://github.com/aureliojargas/txt2regex/issues
Aurelio Jargas <verde@aurelio.net>
Copyright © 2001-2020 Aurelio Jargas, GNU GPL v2
May 21, 2020 |