diff options
| author | kotfu <kotfu@kotfu.net> | 2023-02-01 14:08:49 -0700 |
|---|---|---|
| committer | kotfu <kotfu@kotfu.net> | 2023-02-01 14:08:49 -0700 |
| commit | a95b8b3cbe92d44a0eec9866a5ead892e097514a (patch) | |
| tree | aef6be03994e51db9eb3e74efbc1b854fd167826 /docs/features | |
| parent | 95b27c12e849c732c3d05cf839af2076d87e8ed4 (diff) | |
| parent | ee7599f9ac0dbb6ce3793f6b665ba1200d3ef9a3 (diff) | |
| download | cmd2-git-a95b8b3cbe92d44a0eec9866a5ead892e097514a.tar.gz | |
Merge branch 'master' into clipboard
# Conflicts:
# CHANGELOG.md
Diffstat (limited to 'docs/features')
| -rw-r--r-- | docs/features/transcripts.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/features/transcripts.rst b/docs/features/transcripts.rst index fa6d9cb3..9bab8996 100644 --- a/docs/features/transcripts.rst +++ b/docs/features/transcripts.rst @@ -127,8 +127,8 @@ If your output has slashes in it, you will need to escape those slashes so the stuff between them is not interpred as a regular expression. In this transcript:: - (Cmd) say cd /usr/local/lib/python3.6/site-packages - /usr/local/lib/python3.6/site-packages + (Cmd) say cd /usr/local/lib/python3.11/site-packages + /usr/local/lib/python3.11/site-packages the output contains slashes. The text between the first slash and the second slash, will be interpreted as a regular expression, and those two slashes will @@ -136,8 +136,8 @@ not be included in the comparison. When replayed, this transcript would therefore fail. To fix it, we could either write a regular expression to match the path instead of specifying it verbatim, or we can escape the slashes:: - (Cmd) say cd /usr/local/lib/python3.6/site-packages - \/usr\/local\/lib\/python3.6\/site-packages + (Cmd) say cd /usr/local/lib/python3.11/site-packages + \/usr\/local\/lib\/python3.11\/site-packages .. warning:: |
