Don't rely on *sscanf* for parsing sequences