Backport: Fix typo in regexp-opt example code
* doc/lispref/searching.texi (Regexp Functions): Fix typo in example code (Bug#34596).
This commit is contained in:
committed by
Juanma Barranquero
parent
2b765c650a
commit
bea31a3794
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user