diff options
| author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-03-16 23:33:39 -0400 |
|---|---|---|
| committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-03-16 23:33:39 -0400 |
| commit | 3fceb279272f1a1595071420494905dc29b6dd82 (patch) | |
| tree | eed4a8f6e66622b7a45d58cf4685b8e5b6920905 /examples | |
| parent | de8ce46ccc06776fc375bf8820a6c4912a8d0e1a (diff) | |
| download | cmd2-git-3fceb279272f1a1595071420494905dc29b6dd82.tar.gz | |
Apparently regex syntax is stricter for Python 3 on Windows.
Than it is for Python 2 on Windows or Python 3 on Linux or Mac.
Go figure. You would think it would be the same for Python 3 across platforms.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/exampleSession.txt | 2 | ||||
| -rw-r--r-- | examples/transcript_regex.txt | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/examples/exampleSession.txt b/examples/exampleSession.txt index 8ef39774..893d7b59 100644 --- a/examples/exampleSession.txt +++ b/examples/exampleSession.txt @@ -63,6 +63,8 @@ our BDFL blah blah blah (Cmd) & look, a shortcut! look, a shortcut! +(Cmd) show color +colors: /(True|False)/ (Cmd) set prompt "---> " prompt - was: (Cmd) now: ---> diff --git a/examples/transcript_regex.txt b/examples/transcript_regex.txt index 06d76c2c..b8e0e654 100644 --- a/examples/transcript_regex.txt +++ b/examples/transcript_regex.txt @@ -4,7 +4,7 @@ abbrev: True autorun_on_edit: True case_insensitive: True -colors: /True|False/ +colors: /(True|False)/ continuation_prompt: > debug: False default_file_name: command.txt |
