On Sun, Jul 17, 2011 at 5:47 PM, Xah Lee <xah...@gmail.com> wrote: > the problem is to write a script that can check a dir of text files > (and all subdirs) and reports if a file has any mismatched matching > brackets.
I wonder will it be possible to code the whole thing as a single regular expression... I'm pretty sure it could be done as a sed or awk script, but I'm insufficiently expert in either to do the job. ChrisA -- http://mail.python.org/mailman/listinfo/python-list