From ca96937f65799fc10f04f5f3882964df29fd006a Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@telfort.nl>
Date: Tue, 22 Feb 2022 11:53:35 +0100
Subject: [PATCH] doc: add two missing closing parentheses

* doc/regex.texi (Syntax Bits): Add missing closing parenthesis.
* doc/regex.texi (BSD Regular Expression Compiling): Likewise.
---
 ChangeLog      | 6 ++++++
 doc/regex.texi | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index fdab84acc0..22130b4f23 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-02-22  Benno Schulenberg  <bensberg@telfort.nl>  (tiny change)
+
+	doc: add two missing closing parentheses
+	* doc/regex.texi (Syntax Bits): Add missing closing parenthesis.
+	* doc/regex.texi (BSD Regular Expression Compiling): Likewise.
+
 2022-02-22  Simon Josefsson  <simon@josefsson.org>
 
 	gnulib-tool: Bump automake dependency.
diff --git a/doc/regex.texi b/doc/regex.texi
index c8a691ebc8..d21052282d 100644
--- a/doc/regex.texi
+++ b/doc/regex.texi
@@ -118,7 +118,7 @@ order:
 
 @cnindex RE_BACKSLASH_ESCAPE_IN_LIST
 @item RE_BACKSLASH_ESCAPE_IN_LISTS
-If this bit is set, then @samp{\} inside a list (@pxref{List Operators}
+If this bit is set, then @samp{\} inside a list (@pxref{List Operators})
 quotes (makes ordinary, if it's special) the following character; if
 this bit isn't set, then @samp{\} is an ordinary character inside lists.
 (@xref{The Backslash Character}, for what @samp{\} does outside of lists.)
@@ -2122,7 +2122,7 @@ With Berkeley Unix, you can only search for a given regular
 expression; you can't match one.  To search for it, you must first
 compile it.  Before you compile it, you must indicate the regular
 expression syntax you want it compiled according to by setting the
-variable @code{re_syntax_options} (declared in @file{regex.h} to some
+variable @code{re_syntax_options} (declared in @file{regex.h}) to some
 syntax (@pxref{Regular Expression Syntax}).
 
 To compile a regular expression use:
-- 
2.39.5