emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with occur: unexpected regexp mangling


From: Kim F. Storm
Subject: Problem with occur: unexpected regexp mangling
Date: Tue, 25 Jun 2002 08:36:26 +0000 (GMT)

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  <address@hidden>      http://www.cua.dk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]