rx-form

rx-form is a compiled Lisp function in `rx.el'.

(rx-form FORM &optional RX-PARENT)

Parse and produce code for regular expression FORM.
FORM is a regular expression in sexp form.
RX-PARENT shows which type of expression calls and controls putting of
shy groups around the result and some more in other functions.