Commit 3707ea43 authored by Eli Zaretskii's avatar Eli Zaretskii

Fix a typo in the doc string of 'regex-opt'

* lisp/emacs-lisp/regexp-opt.el (regexp-opt): Fix example in
the doc string.  (Bug#34596)
parent d9905d5c
Pipeline #834 passed with stage
in 29 minutes and 30 seconds
......@@ -121,9 +121,9 @@ than that of a simplified version:
((eq paren \\='symbols) \\='(\"\\\\_<\\\\(\" . \"\\\\)\\\\_>\"))
((null paren) \\='(\"\\\\(?:\" . \"\\\\)\"))
(t \\='(\"\\\\(\" . \"\\\\)\")))))
(concat (car paren)
(concat (car parens)
(mapconcat \\='regexp-quote strings \"\\\\|\")
(cdr paren))))"
(cdr parens))))"
;; Recurse on the sorted list.
(let* ((max-lisp-eval-depth 10000)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment