[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: |
Tue, 28 Jun 2022 12:33:34 +0200 |
On Tue, Jun 28, 2022 at 11:29:51AM +0200, Daniel Martín wrote:
[...]
> You can pass the universal argument to occur to only show the matches
> for the regexp, excluding the rest of the line. For example:
>
> C-u C-s REGEXP C-u M-s o
>
> This will show an *Occur* buffer with only the matching parts of REGEXP
> in the current buffer, which you can save to a file, etc.
Woah. I didn't know that one, thanks. This seems to come close
to the OP's wishes, yes.
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