escaping the windows file.seperator for the regex (fix for #14)

Tested with the test case provided(on Windows 7).