On Sun, 28 Sep 2008 14:19:21 -0400 "Hans Hübner" hans@huebner.org wrote:
On Sun, Sep 28, 2008 at 14:02, Matthew D. Swank akopa.gmane.poster@gmail.com wrote:
Is it possible to create a scanner that only matches at the start index?
I might be confused, but isn't '^' what you need?
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.
Matt