correctly handle regex compilation error + fix typo
correctly handle regex compilation error + fix typo

Open343/pkg,skoef/pkg,khorben/pkg,en90/pkg,Open343/pkg,khorben/pkg,en90/pkg,junovitch/pkg,khorben/pkg,skoef/pkg,junovitch/pkg