slight change to the regex... checks for both Win and Unix