Solved a bug on windows regex.