Bounded repetition: expr{n}, expr{n,}, expr{n,m}.
expr{n} normalizes to min: n, max: n; the open-ended expr{n,} form
normalizes to max: :infinity.
Summary
Types
@type t() :: %Grammar.IR.Rep{ expr: Grammar.IR.expr(), max: non_neg_integer() | :infinity, meta: Grammar.IR.Meta.t(), min: non_neg_integer() }