bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

regexp-opt-group


From: Johan Bockgård
Subject: regexp-opt-group
Date: 18 Jan 2003 23:21:48 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

   regexp-opt-group is a compiled Lisp function in `regexp-opt'.
   (regexp-opt-group STRINGS &optional PAREN LAX)
   Return a regexp to match a string in STRINGS.


(regexp-opt-group '("000" "this string is missing" "foo"
                    "0this occurs twice"))
==>

"0\\(?:00\\|this occurs twice\\)\\|foo\\|0this occurs twice"


This isn't correct, is it (GNU Emacs 21.2.1)?


/Johan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]