Function: indian-compose-regexp

indian-compose-regexp is a byte-compiled function defined in indian.el.gz.

Signature

(indian-compose-regexp REGEXP TABLE)

Source Code

;; Defined in /usr/src/emacs/lisp/language/indian.el.gz
;; Replace mnemonic characters in REGEXP according to TABLE.  TABLE is
;; an alist of (MNEMONIC-STRING . REPLACEMENT-STRING).

(defun indian-compose-regexp (regexp table)
  (let ((case-fold-search nil))
    (dolist (elt table)
      (setq regexp (replace-regexp-in-string (car elt) (cdr elt) regexp t t)))
    regexp))