aboutsummaryrefslogtreecommitdiffstats
path: root/man7/regex.7
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-03-08 00:31:26 +0100
committerAlejandro Colomar <alx@kernel.org>2023-03-08 01:17:07 +0100
commitd6c1998e123fedb6be79ba0045aaea9f527132a3 (patch)
treef1eedc94f8e5ffc5282a70d37bf5446ae833733f /man7/regex.7
parentd5057f71a4fe00c260b501d144a422ac5fd9edb3 (diff)
downloadman-pages-d6c1998e123fedb6be79ba0045aaea9f527132a3.tar.gz
man*/: ffix (semantic newlines; commas)
Reported-by: mandoc(1) (make lint-man-mandoc) Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man7/regex.7')
-rw-r--r--man7/regex.715
1 files changed, 8 insertions, 7 deletions
diff --git a/man7/regex.7 b/man7/regex.7
index 27a5cd497f..8083d2a6a4 100644
--- a/man7/regex.7
+++ b/man7/regex.7
@@ -91,18 +91,19 @@ a sequence of \fIi\fR through \fIj\fR (inclusive) matches of the atom.
An atom is a regular expression enclosed in "\fI()\fP"
(matching a match for the regular expression),
an empty set of "\fI()\fP" (matching the null string)\*(dg,
-a \fIbracket expression\fR (see below), \[aq].\[aq]
-(matching any single character), \[aq]\[ha]\[aq] (matching the null string at the
-beginning of a line), \[aq]$\[aq] (matching the null string at the
-end of a line), a \[aq]\e\[aq] followed by one of the characters
-"\fI\[ha].[$()|*+?{\e\fP"
+a \fIbracket expression\fR (see below),
+\[aq].\[aq] (matching any single character),
+\[aq]\[ha]\[aq] (matching the null string at the beginning of a line),
+\[aq]$\[aq] (matching the null string at the end of a line),
+a \[aq]\e\[aq] followed by one of the characters "\fI\[ha].[$()|*+?{\e\fP"
(matching that character taken as an ordinary character),
a \[aq]\e\[aq] followed by any other character\*(dg
(matching that character taken as an ordinary character,
as if the \[aq]\e\[aq] had not been present\*(dg),
or a single character with no other significance (matching that character).
-A \[aq]{\[aq] followed by a character other than a digit is an ordinary
-character, not the beginning of a bound\*(dg.
+A \[aq]{\[aq] followed by a character other than a digit
+is an ordinary character,
+not the beginning of a bound\*(dg.
It is illegal to end an RE with \[aq]\e\[aq].
.PP
A \fIbracket expression\fR is a list of characters enclosed in "\fI[]\fP".