Function: rx--translate-bounded-repetition
rx--translate-bounded-repetition is a byte-compiled function defined
in rx.el.gz.
Signature
(rx--translate-bounded-repetition NAME BODY)
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/rx.el.gz
(defun rx--translate-bounded-repetition (name body)
(let ((min-count (car body))
(max-count (cadr body))
(items (cddr body)))
(unless (and (natnump min-count)
(natnump max-count)
(<= min-count max-count))
(error "rx `%s' range error" name))
(rx--translate-counted-repetition min-count max-count items)))