erc-replace-match-subexpression-in-string

erc-replace-match-subexpression-in-string is a compiled Lisp function in `erc-compat.el'.

(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.