added test case, removed new RegExp due to some weirdness