[cl-ppcre-devel] Multi-line-mode confusion...

Gary King gwking at metabang.com
Mon May 1 01:25:23 UTC 2006


If I can pull people attention away from the International Lisp  
conference (!)...

Perhaps I'm missing something but both

> (cl-ppcre:scan
>  (cl-ppcre:create-scanner "(.*?)c.*?")
>  "a
> b
> c
> d
> e")

and

> (cl-ppcre:scan
>  (cl-ppcre:create-scanner "(.*?)c.*?" :multi-line-mode t)
>  "a
> b
> c
> d
> e")

return the same values: 4 5 #(4) #(4).

I expected the second form to return 0 4 #(0) #(4). Where have I gone  
wrong...

thanks.
-- 
Gary Warren King
metabang.com
http://www.metabang.com/
(413) 210 7511
gwking on #lisp (occasionally)





More information about the Cl-ppcre-devel mailing list