David Turner <[EMAIL PROTECTED]> writes: > ... Unless the match is in the last 10 lines of the input. > Also, this doesn't release memory, which was part of the original > problem.
I followed up after sending that to point out two bugs I had missed originally. You've just pointed out a third. I guess I was in a pseudocode mindset when I wrote the code; actually running the code would have revealed these oversights rather quickly. I just tested a corrected version, and I see that it fails on the pattern match. I'll repost this after fixing it. -- John Abreau / Executive Director, Boston Linux & Unix ICQ 28611923 / AIM abreauj / JABBER [EMAIL PROTECTED] / YAHOO abreauj Email [EMAIL PROTECTED] / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9 PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99 "The early bird catches the worm, but the second mouse gets the cheese."
msg01887/pgp00000.pgp
Description: PGP signature
