Added destructive test cases for bad regex