all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* regexp-opt-group
@ 2003-01-18 22:21 Johan Bockgård
  2003-01-20  0:50 ` regexp-opt-group Richard Stallman
  0 siblings, 1 reply; 6+ messages in thread
From: Johan Bockgård @ 2003-01-18 22:21 UTC (permalink / raw)



   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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-01-22 10:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-18 22:21 regexp-opt-group Johan Bockgård
2003-01-20  0:50 ` regexp-opt-group Richard Stallman
2003-01-20 16:54   ` regexp-opt-group Stefan Monnier
2003-01-20 17:37     ` regexp-opt-group Johan Bockgård
2003-01-20 17:42       ` regexp-opt-group Stefan Monnier
2003-01-22 10:00         ` regexp-opt-group Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.