in reply to Re: regex is too long
in thread regex is too long

How do the methods compare if the target string is longer? Say, about the size of an average piece of SPAM.

Replies are listed 'Best First'.
Long source
by jhanna (Scribe) on May 09, 2001 at 00:54 UTC
    I've thought about this... To make this work I'll have to chunk the file because I don't want to keep the whole email in memory -- I'd rather stay lean. I could chunk the thing into 100 line pieces, but this makes the code messier.