[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to automatically escape regex characters for regex search?
From: |
Marcin Borkowski |
Subject: |
Re: How to automatically escape regex characters for regex search? |
Date: |
Sun, 06 Nov 2022 18:40:44 +0100 |
User-agent: |
mu4e 1.1.0; emacs 29.0.50 |
On 2022-11-06, at 10:17, Yuri Khan <yuri.v.khan@gmail.com> wrote:
> On Sun, 6 Nov 2022 at 16:13, Jean Louis <bugs@gnu.support> wrote:
>
>> Is there any Emacs function to automatically escape regex characters
>> for regex searches?
>
> regexp-quote?
While this is not what OP asked for, `regexp-opt' is also worth knowing
about.
Best,
--
Marcin Borkowski
http://mbork.pl