regex updated to conform to scaling in IE