Peter Otten wrote: > tiissa wrote: >>Disclaimer: not tested further than example above (but confident). > > Not tested but confident should be an oxymoron for a programmer.
Not tested but confident is an oxymoron for mathemtaticians. Programmers know better than that, they leave bugs in their code to have more work to do. ;) OTOH, you're right. Matching parentheses cannot be done without a stack, that should have rung a bell. -- http://mail.python.org/mailman/listinfo/python-list