fixed theme regex on windows