fix regex for windows