From ff3a5ecf6f6bf9bb87682272f3eb800329572833 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Mon, 28 Apr 2025 08:43:53 +0000
Subject: Latest batch of fixes
Signed-off-by: Laurent Bercot
---
doc/case.html | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
(limited to 'doc/case.html')
diff --git a/doc/case.html b/doc/case.html
index 8ae817b..5cbca2c 100644
--- a/doc/case.html
+++ b/doc/case.html
@@ -59,16 +59,16 @@ is empty.
- -s : Shell matching. The regex words will not be
interpreted as regular expressions, but as shell expressions to be interpreted
-via fnmatch().
+via fnmatch().
The other options also change meanings, see the Shell matching section below.
- -S : Regular expression matching. This is the default. This
section, and all of the sections below except the Shell matching one,
assumes that it is the case.
- -e : Interpret the regex words as
-basic
+basic
regular expressions.
- -E : Interpret the regex words as
-extended
+extended
regular expressions. This is the default.
- -i : Perform case-insensitive matches.
- -N : Make the matching expression and
@@ -129,7 +129,7 @@ to the output of the /usr/bin/env command:
If the -s option has been given to case, then the regex
words are not interpreted as regular expressions, but as shell patterns, as is
performed by the shell's
-case
+case
conditional construct. This has the following consequences:
@@ -138,10 +138,10 @@ conditional construct. This has the following consequences:
prog... is always executed with an unmodified environment.
The options to the case command change meanings: instead of
controlling how the regex regular expressions are interpreted by the
-regcomp()
+regcomp()
primitive, they now control how value is matched against the regex patterns
(which are not regular expressions!) via the
-fnmatch()
+fnmatch()
primitive. Namely:
- -e : Treat a backslash as an ordinary character; do not allow
--
cgit v1.3.1