From: Frederik Fouvry <fouvry@coli.uni-sb.de>
Subject: ediff regexp
Date: 30 Oct 2003 18:24:43 +0100 [thread overview]
Message-ID: <n5oevyeizo.fsf@cc.at.coli.uni-sb.de> (raw)
Hi,
In Ediff there's a way to hide differences that match certain regular
expressions, e.g.
A: ^
B: ^\^[^^]*$
which will hide any difference where the region in B starts with a
caret, and does not contain any more carets. So far so good.
I'd like to do something like the following:
A: ^\(.*\)
B: ^\^\1$
where whatever is matched in A should occur in on the indicated
position. (Strictly speaking, the regexp syntax I used is wrong
because \1 in B cannot refer to whatever was matched in A, but I hope
it conveys the idea.)
Is there a way to do this?
Thanks,
Frederik Fouvry
reply other threads:[~2003-10-30 17:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=n5oevyeizo.fsf@cc.at.coli.uni-sb.de \
--to=fouvry@coli.uni-sb.de \
/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.
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).