Suppose you have existing regexes you wish to compile using one of the submissions to Compile Regexes.
In as few characters as possible, write a program to make that work.:
- accepts an existing regex as input, as either (a) one line from standard input; or (b) one argument from the command line; or (c) the contents of a textbox in a dialog box; then
- converts the regex into one that works with the compiler (see "Equivalent constructs"); then
- prints the new regex either (a) on standard output; or (b) in a dialog box.
For reference, youYou can convert...