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

Matthew D. Swank akopa.gmane.poster at gmail.com
Mon Sep 29 22:21:33 UTC 2008


On Mon, 29 Sep 2008 10:37:00 -0700
Chris Dean <ctdean at sokitomi.com> wrote:

> 
> "Matthew D. Swank" <akopa.gmane.poster at gmail.com> writes:
> > One thing I did notice is that I read the file into an adjustable
> > vector, and that is the string I pass to the scanners.  I suppose
> > ppcre has to coerce that every time a scanner runs?
> 
> Yes, scan needs a simple-string.  From the SCAN docs:
> 
>   target-string will be coerced to a simple string if it isn't one
>   already.
> 
Coercing the slurped file to a simple string makes things work
swimmingly.

Thanks,

Matt

-- 
"You do not really understand something unless you can explain it to
your grandmother." -- Albert Einstein.



More information about the Cl-ppcre-devel mailing list