By registering with us, you'll be able to discuss, share and exchange private messages with other members of our community.
SignUp Now!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
psyntax->op2 |= ONIG_SYN_OP2_PLUS_POSSESSIVE_INTERVAL;
> ---Quote (Originally by vefatica)---
> 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?