Ref https://github.com/github-linguist/linguist/discussions/7772#discussioncomment-15542740. Should be able to check that 1. all regexps are PCRE compliant 2. the right file gets picked (by comparing the output against the expected file)
Ref github-linguist/linguist#7772 (reply in thread).
Should be able to check that