[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Select/highlight and *copy* matches of some regex
From: |
tomas |
Subject: |
Re: Select/highlight and *copy* matches of some regex |
Date: |
Mon, 27 Jun 2022 19:44:07 +0200 |
On Mon, Jun 27, 2022 at 07:16:27PM +0200, Joost wrote:
> On Mon, 27 Jun 2022, at 18:12, tomas@tuxteam.de wrote:
> > Not a direct answer to your question, but perhaps similar. If you
> > can live with selecting /lines/ containing a match, there's "occur"
> > (M-x occur).
>
> Sorry, I meant to mention that, but I forgot. No, selecting lines is not an
> option, because it's the non-matching parts of each line that I'm trying to
> get rid of.
>
> In my particular use case, I'm trying to clean up a file that looks something
> like this:
[...]
I see. No, I don't know such a thing out of the box (that doesn't
mean much, though).
It shouldn't be that difficult to cobble something together.
Cheers
--
t
signature.asc
Description: PGP signature
- Select/highlight and *copy* matches of some regex, Joost, 2022/06/27
- Re: Select/highlight and *copy* matches of some regex, tomas, 2022/06/27
- Re: Select/highlight and *copy* matches of some regex, Joost, 2022/06/27
- Re: Select/highlight and *copy* matches of some regex, Visuwesh, 2022/06/28
- Re: Select/highlight and *copy* matches of some regex, Emanuel Berg, 2022/06/28
- Re: Select/highlight and *copy* matches of some regex, Joost Kremers, 2022/06/29
- Re: Select/highlight and *copy* matches of some regex, Emanuel Berg, 2022/06/30
Re: Select/highlight and *copy* matches of some regex, Stephen Berman, 2022/06/27