Quotation Ugliness

Tim Chase python.list at tim.thechases.com
Tue Nov 25 20:44:14 EST 2014


On 2014-11-25 19:20, Tim Daneliuk wrote:
> > hen you find any opener, you seek its  
> corresponding closer, and then special-case /* to count any
> additional /* and look for a */ for each one */ .
> 
> That's more or less where I was headed.  I just wanted something
> less brute force :)

This seems to directly conflict with your initial request that

> These may be nested.

If they can't be nested, then it simplifies the problem immensely.

-tkc





More information about the Python-list mailing list