Function: rx--translate-intersection

rx--translate-intersection is a byte-compiled function defined in rx.el.gz.

Signature

(rx--translate-intersection NEGATED BODY)

Documentation

Translate an (intersection ...) construct. Return (REGEXP . PRECEDENCE).

If NEGATED, negate the sense.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/rx.el.gz
(defun rx--translate-intersection (negated body)
  "Translate an (intersection ...) construct.  Return (REGEXP . PRECEDENCE).
If NEGATED, negate the sense."
  (rx--generate-alt negated (rx--intersection-intervals
                             (mapcar #'rx--normalise-char-pattern body))
                    nil))