cdms2.dataset

parselist(text, f)[source]

Parse a string of the form [A, A, …].

Parameters
textInput String.
ffunction which parses A and returns (A, nconsumed).
Returns
Parser results.
n number of matches.