unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Problem with occur: unexpected regexp mangling
@ 2002-06-25  8:36 Kim F. Storm
  2002-06-25  9:56 ` Andreas Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: Kim F. Storm @ 2002-06-25  8:36 UTC (permalink / raw)
  Cc: emacs-devel


Hi Colin,

I have a file with directives like <%?if%> <%?end%>

I wanted to use occur to find these and tried the obvious:

  %\?

message was:

   occur-1: Not enough arguments for format string

I then tried

  %%\?

But that returned:

  Searched 1 buffer; no matches for `%\?'

I finally tried

  %%?

And got what I wanted:

  Searched 1 buffer; 79 matches for `%?'

But that's a pretty strange REGEXP to match %?  :-)

I don't think 21.1 did that....

-- 
Kim F. Storm  <storm@cua.dk>      http://www.cua.dk

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

end of thread, other threads:[~2002-06-25  9:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-25  8:36 Problem with occur: unexpected regexp mangling Kim F. Storm
2002-06-25  9:56 ` Andreas Schwab

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