
29 Sep
2008
29 Sep
'08
10:21 p.m.
On Mon, 29 Sep 2008 10:37:00 -0700 Chris Dean <ctdean@sokitomi.com> wrote:
"Matthew D. Swank" <akopa.gmane.poster@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.