remove duplicate regex for failed case (should be implicit)