Can a group of characters set as literals?

Ie, to escape every special character in the group separately, and ask "this group has no special characters"
March 23rd 20 at 19:31
1 answer
March 23rd 20 at 19:33
And under what dialect of regular expressions you need?
In Perl and PHP you can use \Q and \E
In others, there are analogues? - Pauline3 commented on March 23rd 20 at 19:36
@Pauline3, Python and JS is not unique.
In Golang and Java have \Q...\E.
C++ is the boost library regex. It is supported by a \Q...\E. This library is used in Notepad++. Possible in Sublime Text supported \Q...\E. - Lisette.Erdman commented on March 23rd 20 at 19:39

Find more questions by tags Regular expressions