
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] [tlug-digest] Regex Efficiency
David Riggs <dariggs@example.com> wrote:
> I need to find short ... strings in a giant haystack of texts.
> Is there a way to do this, preferably a fast way to do this?
> My haystack is hundreds of megabytes and I have to do it a lot.
If this is something that you are going to do much,
then regex efficiency is a serious concern and you must read:
Mastering Regular Expressions by Jeffrey E.F. Friedl
http://www.oreilly.com/catalog/regex/
especially chapters 4 and 5. Chapter 4 is free:
http://www.oreilly.com/catalog/regex/chapter/ch04.html
-------------------------------------------------------------------
newline spanning nastiness still to follow
Home |
Main Index |
Thread Index