[Tutor] Regular Expression guru saught

Sean 'Shaleh' Perry shalehperry@comcast.net
Mon Aug 4 23:43:02 EDT 2003


On Monday 04 August 2003 18:26, Kirk Bailey wrote:
> Well, as an example, here's the code of the moment:
> 	http;//www.tinylist.org/wikinehesa.txt
> and here is the mostly working reader tself:
> 	http://www.tinylist.org/cgi-bin/wikinehesa.py
> Works, reads, even  manages a somewhat crufty parsing into paragraphs,
> but need to handle the <b></b> and <i></i> matter.
>

look at htmlparser's code.  What you need is a state machine ......





More information about the Tutor mailing list