http://www.perlmonks.org?node_id=897761


in reply to RegEx for parsing wiki enumeration

Unless this is an academic exercise, you might want to have a look at wikipdf (written in Python, released under GPL).

--
No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]