From c5f06cde82a5ad1858fb80e1771e7f149a4e2ad8 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Fri, 19 Jun 2020 21:23:51 +0200 Subject: [PATCH] docs/string: Fix match examples One was just cosmetic (too many \\), one was actually broken because it had duplicated `{{`, possibly resulting from the doxygen conversion? [ci skip] --- doc_src/cmds/string-match.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc_src/cmds/string-match.rst b/doc_src/cmds/string-match.rst index e4d1c4738..a140be247 100644 --- a/doc_src/cmds/string-match.rst +++ b/doc_src/cmds/string-match.rst @@ -85,13 +85,13 @@ Match Regex Examples cat4 dog4 - >_ string match -r '(\\d\\d?):(\\d\\d):(\\d\\d)' 2:34:56 + >_ string match -r '(\d\d?):(\d\d):(\d\d)' 2:34:56 2:34:56 2 34 56 - >_ string match -r '^(\\w{{2,4}})\\g1$' papa mud murmur + >_ string match -r '^(\w{2,4})\1$' papa mud murmur papa pa murmur