diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el index d127575255a..4a1da62c7e9 100644 --- a/lisp/progmodes/hideif.el +++ b/lisp/progmodes/hideif.el @@ -694,7 +694,7 @@ that form should be displayed.") "\\|\\(\\w+\\)")) ;; C++11 Unicode string literals (L"" u8"" u"" U"" R"" LR"" u8R"" uR"") -(defconst hif-unicode-prefix-regexp "\\(?:u8R?\\|[uUL]R?\\\|R\\)") +(defconst hif-unicode-prefix-regexp "\\(?:u8R?\\|[uUL]R?\\|R\\)") (defconst hif-string-literal-regexp (concat hif-unicode-prefix-regexp "?" "\\(\"\\(?:[^\"\\]\\|\\\\.\\)*\"\\)"))