help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to grep for a string spanning multiple lines?


From: Emanuel Berg
Subject: Re: How to grep for a string spanning multiple lines?
Date: Tue, 06 Dec 2022 00:06:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Rudolf Adamkovič wrote:

>     (setq isearch-lax-whitespace t
>           isearch-regexp-lax-whitespace t
>           search-whitespace-regexp "[ \t\r\n]+")
>
> Perhaps that could help you?

Clever!

There is a character class for that, but maybe it's better to
do it that way.

Also ?\s is whitespace but again maybe it's better to do it
your way ...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]