[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31796: 27.1; dired-do-find-regexp-and-replace fails to find multilin
From: |
Juri Linkov |
Subject: |
bug#31796: 27.1; dired-do-find-regexp-and-replace fails to find multiline regexps |
Date: |
Sun, 06 Dec 2020 23:00:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
>> dired-do-find-regexp uses 'ignores' to filter out ignored files.
>> You could add another filter to filter out files without matches
>> using 'grep -PzL'.
>
> Right. This is sorta a backup plan. Although, when the number of files to
> search can be counted on one hand, there's nothing too bad in doing the
> search in Emacs.
Another backup plan is to use ripgrep. Its multiline handling with -U
also allows to search words ignoring any whitespace, even newlines.
This is like isearch-lax-whitespace using search-whitespace-regexp
when it contains a newline, e.g. "[ \t\r\n]+".
- bug#31796: 27.1; dired-do-find-regexp-and-replace fails to find multiline regexps, (continued)
- bug#31796: 27.1; dired-do-find-regexp-and-replace fails to find multiline regexps, Richard Stallman, 2020/12/01
- bug#31796: 27.1; dired-do-find-regexp-and-replace fails to find multiline regexps, Eli Zaretskii, 2020/12/02
- bug#31796: 27.1; dired-do-find-regexp-and-replace fails to find multiline regexps, Dmitry Gutov, 2020/12/02
- bug#31796: 27.1; dired-do-find-regexp-and-replace fails to find multiline regexps, Eli Zaretskii, 2020/12/02
- bug#31796: 27.1; dired-do-find-regexp-and-replace fails to find multiline regexps, Dmitry Gutov, 2020/12/02
- bug#31796: 27.1; dired-do-find-regexp-and-replace fails to find multiline regexps, Eli Zaretskii, 2020/12/02
- bug#31796: 27.1; dired-do-find-regexp-and-replace fails to find multiline regexps, Richard Stallman, 2020/12/03
bug#31796: 27.1; dired-do-find-regexp-and-replace fails to find multiline regexps, Dmitry Gutov, 2020/12/02
bug#31796: 27.1; dired-do-find-regexp-and-replace fails to find multiline regexps, Juri Linkov, 2020/12/01
bug#31796: 27.1; dired-do-find-regexp-and-replace fails to find multiline regexps, Juri Linkov, 2020/12/01