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

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

How to automatically escape regex characters for regex search?


From: Jean Louis
Subject: How to automatically escape regex characters for regex search?
Date: Sun, 06 Nov 2022 12:10:47 +0300

Is there any Emacs function to automatically escape regex characters
for regex searches?

For example I wish to search for "- [ ]" but I wish to automatically
escape that, not in hard coded way, but in such way that I can use any
string and that regex character like "[ ]" get escaped.

--
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

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