m2ym/optima

Update optima.ppcre example

Closed this issue · 2 comments

CL-USER> (match "2012-11-04"
           ((ppcre "^\\d{4}-\\d{2}-\\d{2}$" year month day)
            (list year month day)))
(NIL NIL NIL)

it should be

(match "2012-11-04"
           ((ppcre "^(\\d{4})-(\\d{2})-(\\d{2})$" year month day)
            (list year month day)))

Vote up on this issue.

Overall, the README.md is simple and clear. A motivational paragraph at the beginning would be nice, even something corny as "destructuring-bind on steroids" would bring forth the usefulness of the system better.

Keep up the good work.

m2ym commented

Fixed. Thanks!