fix windows file.separator escaping in regex

fix windows file.separator escaping in regex