Rex, do you have any docs which say whether Onig's PERL syntax honors the PERL quantifier {m,n} (at least m, at most n)?
AFAICT, with your @REGEX and my @XMATCH, it doesn't. Could it be an ONIG_OPTION?
Code:
v:\> echo %@regex[\d{1,2},22]
0
v:\> echo %@xmatch[\d{1,2},22]
0