Removed useless (and wrong) regex tests on IS_WIN constant