Function: erc-replace-match-subexpression-in-string
erc-replace-match-subexpression-in-string is a byte-compiled function
defined in erc-compat.el.gz.
This function is obsolete since 28.1; use replace-match instead.
Signature
(erc-replace-match-subexpression-in-string NEWTEXT STRING MATCH SUBEXP START &optional FIXEDCASE LITERAL)
Documentation
Replace the subexpression SUBEXP of the last match in STRING with NEWTEXT.
MATCH is the text which matched the subexpression (see match-string).
START is the beginning position of the last match (see match-beginning).
See replace-match for explanations of FIXEDCASE and LITERAL.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-compat.el.gz
(defun erc-replace-match-subexpression-in-string
(newtext string _match subexp _start &optional fixedcase literal)
"Replace the subexpression SUBEXP of the last match in STRING with NEWTEXT.
MATCH is the text which matched the subexpression (see `match-string').
START is the beginning position of the last match (see `match-beginning').
See `replace-match' for explanations of FIXEDCASE and LITERAL."
(declare (obsolete replace-match "28.1"))
(replace-match newtext fixedcase literal string subexp))