IE6-8 return empty string on match (matched or not). Fixes failing tests.