diff options
author | Jared Crapo <jared@kotfu.net> | 2017-08-19 23:23:32 -0600 |
---|---|---|
committer | Jared Crapo <jared@kotfu.net> | 2017-08-19 23:23:32 -0600 |
commit | dc0ad81e6858aa9387c7dbd88f5721b6762f51b1 (patch) | |
tree | 9421eb4793bd062ca2f13c5586433b5803123805 /examples | |
parent | f49d88a5bc5d981c78c2242a53ac34f8576b89ee (diff) | |
download | cmd2-git-dc0ad81e6858aa9387c7dbd88f5721b6762f51b1.tar.gz |
Ensure editor and the file to edit can have spaces in them
Diffstat (limited to 'examples')
-rw-r--r-- | examples/transcript_regex.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/transcript_regex.txt b/examples/transcript_regex.txt index 47357284..31e731a9 100644 --- a/examples/transcript_regex.txt +++ b/examples/transcript_regex.txt @@ -1,5 +1,6 @@ # Run this transcript with "python example.py -t transcript_regex.txt" -# The regex for editor matches any word until first space. The one for colors is because no color on Windows. +# The regex for colors is because no color on Windows. +# The regex for editor will match whatever program you use. (Cmd) set abbrev: True autorun_on_edit: False @@ -7,7 +8,7 @@ colors: /(True|False)/ continuation_prompt: > debug: False echo: False -editor: /([^\s]+)/ +editor: /.*/ feedback_to_output: True locals_in_py: True maxrepeats: 3 |