The majority of pyparsing examples that I have seen have dealt with linear expressions.
a = 1 + 2
I'd like to parse mediawiki headlines, and hash them to their sections.
e.g.
Introduction goes here
==Hello==
foo
foo
===World===
bar
bar
Dict would look like:
{'Introduction':'Whoot introduction goes here', 'Hello':"foo\nfoo", 'World':"bar\nbar"}
If I could just see one example of this "enclosed" (==HEADLINE==) parsing, I'd be able to move on to links/images/files etc.