aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/string.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc_src/string.txt')
-rw-r--r--doc_src/string.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc_src/string.txt b/doc_src/string.txt
index 5a7b6f37..31677858 100644
--- a/doc_src/string.txt
+++ b/doc_src/string.txt
@@ -103,7 +103,7 @@ The following subcommands are available:
\fish{cli-dark}
>_ echo \\x07 | string escape
-<bs>cg</bs>
+\bksl{cg}
\endfish
\subsection string-example-match-glob Match Glob Examples
@@ -136,7 +136,7 @@ The following subcommands are available:
>_ string match -r 'cat|dog|fish' 'nice dog'
\outp{dog}
->_ string match -r '(\\d\\d?):(\\d\\d):(\\d\\d)' <asis>2:34:56</asis>
+>_ string match -r '(\\d\\d?):(\\d\\d):(\\d\\d)' \asis{2:34:56}
\outp{2:34:56}
\outp{2}
\outp{34}