[comp.emacs] Insert regexp function?

evan@csli.STANFORD.EDU (Evan Kirshenbaum) (04/29/88)

I'm looking for the inverse of regexp-quote.  In an application, I'm
searching for a regular-expression, and if I don't find it I want to
be able to insert something which the regexp matches (preferably one
of the first things it matches).  

Thus if the regexp was "Title:? +", it should insert "Title " (or
"Title: ")

I could probably write such an animal if necessary, but it looks
sufficiently hairy that I thought I'd wait and see whether this was
built-in and I couldn't find it or if anybody else had already done
it.

---
Evan Kirshenbaum
Stanford University
  evan@csli.Stanford.EDU
  ...!ucbvax!csli.stanford.edu!evan

If you think my opinions represent this university, 
you haven't been on campus recently!