From 901efc65acfee5cad65a6ed84fc540c5ba6ebdf0 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 21 Oct 2021 08:05:13 +0000 Subject: Fix case usage example Signed-off-by: Laurent Bercot --- doc/case.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/case.html') diff --git a/doc/case.html b/doc/case.html index db7e983..a82eec8 100644 --- a/doc/case.html +++ b/doc/case.html @@ -101,7 +101,7 @@ in regex. emptyenv case -N -- $1 { - "\\([fo]+\\)bar\\(baz\\)" { /usr/bin/env } + "([fo]+)bar(baz)" { /usr/bin/env } } @@ -111,7 +111,7 @@ to the output of the /usr/bin/env command:

#=2
-0=\([fo]+\)bar\(baz\)
+0=([fo]+)bar(baz)
 1=foooo
 2=baz
 
-- cgit v1.2.3