The 'bug' lies within my use of the - character within a character set; it should be last. Additionally, the regex is just bad. I am still unsure why the entire string matches if grep is used improperly.
My GitHub repository has a test using libpcre2, if anybody wished to do a sanity check in the future: https://github.com/sunny73cr/pcre_test

