[cl-ppcre-devel] Matching on very long strings.

Edi Weitz edi at agharta.de
Sun Sep 28 19:31:05 UTC 2008


On Sun, 28 Sep 2008 14:15:40 -0500, "Matthew D. Swank" <akopa.gmane.poster at gmail.com> wrote:

> I tried using a contruct like `(:sequence :start-anchor (:regex
> ,regex)) where regex is a pcre string, but matching still takes for
> ever (as in I gave up after 10 min) when slurping a moderately sized
> file (400k).  Note, matching works fine for files under 1k, or if I
> break it up into lines for line oriented input.

Show us the regex you were using and some test data and then maybe we
can help you to optimize it.

I suppose you read this?

  http://weitz.de/cl-ppcre/#blabla

Edi.



More information about the Cl-ppcre-devel mailing list