* regexp-opt-group
@ 2003-01-18 22:21 Johan Bockgård
0 siblings, 0 replies; only message 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] only message in thread
only message in thread, other threads:[~2003-01-18 22:21 UTC | newest]
Thread overview: (only message) (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
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).