fix Regexps.match for non matching
add Paths win support