From: "Kim F. Storm" <storm@cua.dk>
Cc: emacs-devel@gnu.org
Subject: Problem with occur: unexpected regexp mangling
Date: Tue, 25 Jun 2002 08:36:26 +0000 (GMT) [thread overview]
Message-ID: <20020625083626.336A97C016@mail.filanet.dk> (raw)
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
next reply other threads:[~2002-06-25 8:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-25 8:36 Kim F. Storm [this message]
2002-06-25 9:56 ` Problem with occur: unexpected regexp mangling Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020625083626.336A97C016@mail.filanet.dk \
--to=storm@cua.dk \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.