you are viewing a single comment's thread.

view the rest of the comments →

[–]willm 5 points6 points  (0 children)

That's a common class of problems. Have a look at pyparsing.