Function: reb-cook-regexp
reb-cook-regexp is a byte-compiled function defined in
re-builder.el.gz.
Signature
(reb-cook-regexp RE)
Documentation
Return RE after processing it according to reb-re-syntax.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/re-builder.el.gz
(defun reb-cook-regexp (re)
"Return RE after processing it according to `reb-re-syntax'."
(if (eq reb-re-syntax 'rx)
(rx-to-string (eval (car (read-from-string re))))
re))