summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJared Crapo <jared@kotfu.net>2017-08-21 20:39:21 -0600
committerJared Crapo <jared@kotfu.net>2017-08-21 20:39:21 -0600
commit208fd69238c97a83c373343573e9f19c59124adc (patch)
tree5284ee48614a4d836ce0518244d01ab4bf52af9e /examples
parentd3766eb29f728b5e9d60645bbbac9062c683870e (diff)
downloadcmd2-git-208fd69238c97a83c373343573e9f19c59124adc.tar.gz
regex implementation complete. Still a few bugs.
Diffstat (limited to 'examples')
-rw-r--r--examples/transcript_regex.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/transcript_regex.txt b/examples/transcript_regex.txt
index a310224b..27b4c639 100644
--- a/examples/transcript_regex.txt
+++ b/examples/transcript_regex.txt
@@ -1,17 +1,18 @@
# Run this transcript with "python example.py -t transcript_regex.txt"
# The regex for colors is because no color on Windows.
# The regex for editor will match whatever program you use.
+# regexes on prompts just make the trailing space obvious
(Cmd) set
abbrev: True
autorun_on_edit: False
colors: /(True|False)/
-continuation_prompt: >
+continuation_prompt: >/ /
debug: False
echo: False
-editor: /.*/
+editor: /.*?/
feedback_to_output: False
locals_in_py: True
maxrepeats: 3
-prompt: (Cmd)
+prompt: (Cmd)/ /
quiet: False
timing: False