Commit 6d7e18e8 authored by Mattias Engdegård's avatar Mattias Engdegård

Fix typo in regexp-opt example code

* doc/lispref/searching.texi (Regexp Functions):
Fix typo in example code (Bug#34596).
parent b619777d
Pipeline #1115 failed with stage
in 49 minutes and 27 seconds
......@@ -1007,9 +1007,9 @@ version:
((eq paren 'symbols) '("\\_<\\(" . "\\)\\_>"))
((null paren) '("\\(?:" . "\\)"))
(t '("\\(" . "\\)")))))
(concat (car paren)
(concat (car parens)
(mapconcat 'regexp-quote strings "\\|")
(cdr paren))))
(cdr parens))))
@end example
@end defun
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