Do you happen to have a link to the spec for that? I'm unable to find a mention of the implied minimum, I only know of the implied infinity for the max position {1,}
I also tried it out in pcre2test and it doesn't seem to imply a minimum either:
$ pcre2test -d
PCRE2 version 10.34 2019-11-21
re> /a{,5}/
------------------------------------------------------------------
0 13 Bra
3 a{,5}
13 13 Ket
16 End
------------------------------------------------------------------
Capture group count = 0
First code unit = 'a'
Last code unit = '}'
Subject length lower bound = 5
data> aaaaaa
No match
data> aa
No match
data> a
No match
data>
Hi @jeffmcneely,
Do you happen to have a link to the spec for that? I'm unable to find a mention of the implied minimum, I only know of the implied infinity for the max position
{1,}
I also tried it out in pcre2test and it doesn't seem to imply a minimum either:
Originally posted by @working-name in https://github.com/firasdib/Regex101/issues/1822#issuecomment-1171502258