fix img regex to account for attributes in any order