unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* regexp-opt for all kinds of strings
@ 2007-07-18 19:52 Nordlöw
  2007-07-18 20:19 ` Stefan Monnier
  2007-07-20  4:17 ` Tim X
  0 siblings, 2 replies; 7+ messages in thread
From: Nordlöw @ 2007-07-18 19:52 UTC (permalink / raw)
  To: help-gnu-emacs

Hey!

Is there a version of regexp-opt() that can take a list of regular
expression (regexps) as argument. If not, why?

^ permalink raw reply	[flat|nested] 7+ messages in thread
* regexp-opt for all kinds of strings
@ 2007-07-18 16:21 Nordlöw
  2007-07-19  1:58 ` David Hansen
  2007-07-20  3:04 ` Tim X
  0 siblings, 2 replies; 7+ messages in thread
From: Nordlöw @ 2007-07-18 16:21 UTC (permalink / raw)
  To: help-gnu-emacs

Hey there!

Why aren't all kinds of characters allowed in regexp-opt()? I am doing
syntax highlighting of operators in c-mode and would like regexp-opt
to work for lists such:
  '("+" "-" "*" "/" "++" "--")

Have I missed something. Or is the feature a TODO?


Thanks in advance,
Nordlöw

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

end of thread, other threads:[~2007-07-20  8:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-18 19:52 regexp-opt for all kinds of strings Nordlöw
2007-07-18 20:19 ` Stefan Monnier
2007-07-20  4:17 ` Tim X
2007-07-20  8:06   ` Nordlöw
  -- strict thread matches above, loose matches on Subject: below --
2007-07-18 16:21 Nordlöw
2007-07-19  1:58 ` David Hansen
2007-07-20  3:04 ` Tim X

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).