summaryrefslogtreecommitdiff
path: root/examples/transcript_regex.txt
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2017-08-22 17:51:01 -0700
committerGitHub <noreply@github.com>2017-08-22 17:51:01 -0700
commit319e66b3076e340270fbb74eb01936f88b5c268c (patch)
treed44878dbf9f33261e3022e7a057e65ba540848e9 /examples/transcript_regex.txt
parent3a842abbd2e6511b2721ead634c14b076ac3b362 (diff)
parentd5f91bd490aac11180644c5549dc340826901fb2 (diff)
downloadcmd2-git-319e66b3076e340270fbb74eb01936f88b5c268c.tar.gz
Merge pull request #216 from kotfu/fix/transcript_regexes
Transcript regexes now have predictable, tested, and documented behavior
Diffstat (limited to 'examples/transcript_regex.txt')
-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