[cl-ppcre-devel] Using scan

Gary King gwking at metabang.com
Mon Jul 7 11:39:32 UTC 2008


Hi Dave,

If I understand your question correctly, you want to look at multiple- 
value-bind. This lets you bind multiple return values (hence the  
name :->). E.g., (completely untested code)

(mulitple-value-bind (a b c d array-1 array-2)
   (cl-ppcre:scan ...)
  ;; now a, b, c, d, array-1 and array-2 are bound to the values  
returned from scan
   ...)

HTH

On Jul 7, 2008, at 7:22 AM, Dave Pawson wrote:

> file:///files/lisp/email/cl-ppcre/doc/index.html#scan
>
> On success returns four values and 2 arrays.
> But not in a list?
>
> How to access these values please?
>
>
> TIA
>
> -- 
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk
> _______________________________________________
> cl-ppcre-devel site list
> cl-ppcre-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/cl-ppcre-devel

--
Gary Warren King, metabang.com
Cell: (413) 559 8738
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM







More information about the Cl-ppcre-devel mailing list