* ediff regexp
@ 2003-10-30 17:24 Frederik Fouvry
0 siblings, 0 replies; only message in thread
From: Frederik Fouvry @ 2003-10-30 17:24 UTC (permalink / 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-10-30 17:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-30 17:24 ediff regexp Frederik Fouvry
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.