remove deuplicate regex for failed case (should be implicit)