aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/searching.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi
index a4d5a27203f..1a090ebe101 100644
--- a/doc/lispref/searching.texi
+++ b/doc/lispref/searching.texi
@@ -1086,8 +1086,9 @@ Corresponding string regexp: @samp{@var{A}@var{B}@dots{}}
1086@itemx @code{(| @var{rx}@dots{})} 1086@itemx @code{(| @var{rx}@dots{})}
1087@cindex @code{|} in rx 1087@cindex @code{|} in rx
1088Match exactly one of the @var{rx}s. 1088Match exactly one of the @var{rx}s.
1089If all arguments are string literals, the longest possible match 1089If all arguments are strings, characters, or @code{or} forms
1090will always be used. Otherwise, either the longest match or the 1090so constrained, the longest possible match will always be used.
1091Otherwise, either the longest match or the
1091first (in left-to-right order) will be used. 1092first (in left-to-right order) will be used.
1092Without arguments, the expression will not match anything at all.@* 1093Without arguments, the expression will not match anything at all.@*
1093Corresponding string regexp: @samp{@var{A}\|@var{B}\|@dots{}}. 1094Corresponding string regexp: @samp{@var{A}\|@var{B}\|@dots{}}.