String splitting with exceptions

Skip Montanaro skip at pobox.com
Wed Aug 28 12:55:31 EDT 2013


> The record formats are, in the worst case, like this:
>
> foo.[DOM]::[IP6::4361:6368:6574]:600::

> Any suggestions?

Write a little parser that can handle the record format?

Skip



More information about the Python-list mailing list