aboutsummaryrefslogtreecommitdiffstats
path: root/man3/regex.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/regex.3')
-rw-r--r--man3/regex.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/regex.3 b/man3/regex.3
index 605889c46f..73cd459562 100644
--- a/man3/regex.3
+++ b/man3/regex.3
@@ -88,11 +88,11 @@ are ignored if the pattern buffer supplied was compiled with this flag set.
Match-any-character operators don't match a newline.
.IP
A nonmatching list
-.RB ( [\(ha...] )
+.RB ( [\[ha]...] )
not containing a newline does not match a newline.
.IP
Match-beginning-of-line operator
-.RB ( \(ha )
+.RB ( \[ha] )
matches the empty string immediately after a newline, regardless of
whether
.IR eflags ,