I once made a consumer for an xml api. I made a simple regex hack that worked fine. After reading some rants about "parsing" xml with regex I swapped it out for a real parser.
A few minutes later the parsings started failing because there were unescaped <> characters in attributes. Reported the bug, got a wontfix back.
I reverted to regex and it has been working fine ever since.