On Fri, Aug 22, 2008 at 4:48 PM, Terry Reedy <[EMAIL PROTECTED]> wrote: > Does not grep only work a line at a time? Just like the code below?
My understanding was that if the regex contains "^" and "$", it will matches in the full file. I wasn't never test it. I tested just before, and didn't work :( If you have a notion of the maximum amount of lines, there is an easy solution. Regards -- http://mail.python.org/mailman/listinfo/python-list