Now, many registrars use a format that has lines that look like "Name: Value". But not all do. And those that do will frequently include other text, including terms of service for using their WHOIS service or providing instructions. And some don't use a "Name: Value" format, or they allow for multi-line indented values, or whatnot. Some seem to use "%" to delimit informational lines, as if it's a comment characters, while others don't bother to use anything.
So, parsing whois is a bit more like scraping the web than like parsing a real file format. It can break sometimes.
When i was working in that field a few years ago best practice was to make some guesses, log everything and have a ton of manual checks.
If you've ever looked under the hood at a WHOIS parser you'll see it's filled with nice, neat code, a series of extensions, and then a whole pile of hacks to deal with hundreds of edge cases.