(Regexp Special): Update when ^ is special.
authorRichard M. Stallman <rms@gnu.org>
Tue, 28 Nov 2006 02:23:22 +0000 (02:23 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 28 Nov 2006 02:23:22 +0000 (02:23 +0000)
lispref/searching.texi

index 204cfa1..bc3fd9c 100644 (file)
@@ -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