summaryrefslogtreecommitdiff
path: root/lisp/progmodes/hideif.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2021-06-15 19:57:38 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2021-06-16 09:57:27 +0200
commiteac34b52f6764808b0a8a1c3a5e9a1f703e55c7a (patch)
tree448a86b9ee585c415a93fb42c600cd1aa3d3bd99 /lisp/progmodes/hideif.el
parentd9698faa345a99b4a55bb02ecb324b0d8dcd2997 (diff)
downloademacs-eac34b52f6764808b0a8a1c3a5e9a1f703e55c7a.tar.gz
; * lisp/progmodes/hideif.el (hif-unicode-prefix-regexp): Stray `\`.
Diffstat (limited to 'lisp/progmodes/hideif.el')
-rw-r--r--lisp/progmodes/hideif.el2
1 files changed, 1 insertions, 1 deletions
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 "?"
"\\(\"\\(?:[^\"\\]\\|\\\\.\\)*\"\\)"))