== Welcome to Regexp Bench
Basically, start up 'regexp-bench' You'll get an interactive command line,
complete with a help function.
An example exchange with regexp-bench:
$ bin/regexp-bench
> load_matches do
do doc/ dog-cat.yaml
> load_matches dog-cat.yaml
> list_matches
Match: dog
Don't Match: cat
> test .o.
Regexp compiles as: (?-mix:.o.)
Matching "dog"
Successful match:
Before:
m[0]: dog
After:
Matching "cat"
Successful null match
> test ...
Regexp compiles as: (?-mix:...)
Matching "dog"
Successful match:
Before:
m[0]: dog
After:
Matching "cat"
ERROR: match:
Before:
m[0]: cat
After:
> help
clear_matches
dont_match <string> [<string>]
help <terms> [<terms>]
list_matches
load_matches <load_from> [<load_from>]
match <string> [<string>]
quit
redo
remove <string> [<string>]
save_matches <save_to> [<save_to>]
test <regex> [<regex>]
undo
> quit
Still not as pretty as I'd like it to be, but we'll get there before 1.0.
== TODO
- Better help documentation!
- Rspec file output
- Code generation based on a successful test