Commit bea31a37 authored by Mattias Engdegård's avatar Mattias Engdegård Committed by Juanma Barranquero

Backport: Fix typo in regexp-opt example code

* doc/lispref/searching.texi (Regexp Functions):
Fix typo in example code (Bug#34596).
parent 2b765c65
Pipeline #2099 passed with stage
in 26 minutes and 12 seconds
......@@ -1013,9 +1013,9 @@ more efficient 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))))
@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