summaryrefslogtreecommitdiff
path: root/lispref/searching.texi
diff options
context:
space:
mode:
Diffstat (limited to 'lispref/searching.texi')
-rw-r--r--lispref/searching.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/lispref/searching.texi b/lispref/searching.texi
index 204cfa1d319..bc3fd9ce911 100644
--- a/lispref/searching.texi
+++ b/lispref/searching.texi
@@ -438,7 +438,8 @@ When matching a string instead of a buffer, @samp{^} matches at the
beginning of the string or after a newline character.
For historical compatibility reasons, @samp{^} can be used only at the
-beginning of the regular expression, or after @samp{\(} or @samp{\|}.
+beginning of the regular expression, or after @samp{\(}, @samp{\(?:}
+or @samp{\|}.
@item @samp{$}
@cindex @samp{$} in regexp