jishi / node-sonos-http-api

An HTTP API bridge for Sonos easing automation. Hostable on any node.js capable device, like a raspberry pi or similar.
http://jishi.github.io/node-sonos-http-api/
MIT License
1.83k stars 462 forks source link

Hi @jeffmcneely, #843

Closed Martinezz420 closed 2 years ago

Martinezz420 commented 2 years ago

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:

$ 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>

Originally posted by @working-name in https://github.com/firasdib/Regex101/issues/1822#issuecomment-1171502258