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: Sat, 26 Nov 2022 15:55:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Marcin Borkowski wrote:

> I remember that someone in some video said something, and
> I want to find that part. However, it turns out that it is
> split between two (or more) lines.

(re-search-forward ";; Hello my friend\n;; stay a while, and listen")

;; Hello my friend
;; stay a while, and listen

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




reply via email to

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