aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.texi
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2019-06-11 22:17:57 +0300
committerArnold D. Robbins <arnold@skeeve.com>2019-06-11 22:17:57 +0300
commite43c786c285a0757b7db71cbc79a66e791829345 (patch)
treed7c8d62c5241db64be11366321c6079129a4c312 /doc/gawk.texi
parent0ce140454c7f60362f93dbf12928adcceadf9f76 (diff)
downloadegawk-e43c786c285a0757b7db71cbc79a66e791829345.tar.gz
egawk-e43c786c285a0757b7db71cbc79a66e791829345.tar.bz2
egawk-e43c786c285a0757b7db71cbc79a66e791829345.zip
Doc update on unmatched parentheses in regexps.
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r--doc/gawk.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 1b248fc6..aef39200 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -5693,6 +5693,11 @@ containing the alternation operator, @samp{|}. For example,
(These are Texinfo formatting control sequences. The @samp{+} is
explained further on in this list.)
+The left or opening parenthesis is always a metacharacter; to match
+one literally, precede it with a backslash. However, the right or
+closing parenthesis is only special when paired with a left parenthesis;
+an unpaired right parenthesis is (silently) treated as a regular character.
+
@cindex @code{*} (asterisk), @code{*} operator, as regexp operator
@cindex asterisk (@code{*}), @code{*} operator, as regexp operator
@item @code{*}