fix regex on windows