Fix issue with regex on IE6