changeset 19782:013cea3890cb

(regexp-opt): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Sun, 07 Sep 1997 01:24:23 +0000
parents 03264c342376
children c833b837a3fd
files lisp/emacs-lisp/regexp-opt.el
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/regexp-opt.el	Sun Sep 07 01:12:07 1997 +0000
+++ b/lisp/emacs-lisp/regexp-opt.el	Sun Sep 07 01:24:23 1997 +0000
@@ -4,7 +4,6 @@
 
 ;; Author: Simon Marshall <simon@gnu.ai.mit.edu>
 ;; Keywords: strings, regexps
-;; Version: 1.05.01
 
 ;; This file is part of GNU Emacs.
 
@@ -84,9 +83,9 @@
 ;;;###autoload
 (defun regexp-opt (strings &optional paren)
   "Return a regexp to match a string in STRINGS.
-Each string should be unique in STRINGS and should not contain any regexps.
-If optional PAREN non-nil, ensure that the returned regexp is enclosed by at
-least one regexp grouping construct.
+Each string should be unique in STRINGS and should not contain any regexps,
+quoted or not.  If optional PAREN is non-nil, ensure that the returned regexp
+is enclosed by at least one regexp grouping construct.
 The returned regexp is typically more efficient than the equivalent regexp:
 
  (let ((open-paren (if PAREN \"\\\\(\" \"\")) (close-paren (if PAREN \"\\\\)\" \"\")))