2008/7/7 Gary King gwking@metabang.com:
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
Simpler question then.
How to test for a simple, full match?
regex="ABC" testString="ABC"
scan or scan-to-strings seems to be the correct choice?
regards