Function: s-replace-all
s-replace-all is a byte-compiled function defined in s.el.
Signature
(s-replace-all REPLACEMENTS S)
Documentation
REPLACEMENTS is a list of cons-cells. Each `car` is replaced with `cdr` in S.
Source Code
;; Defined in ~/.emacs.d/elpa/s-20220902.1511/s.el
(defun s-replace-all (replacements s)
"REPLACEMENTS is a list of cons-cells. Each `car` is replaced with `cdr` in S."
(declare (pure t) (side-effect-free t))
(let ((case-fold-search nil))
(replace-regexp-in-string (regexp-opt (mapcar 'car replacements))
(lambda (it) (s--aget replacements it))
s t t)))