Re: Questions regarding regexp module
Daniel Jour <[email protected]>
| Newsgroups | gmane.lisp.clisp.devel |
|---|---|
| Message-ID | <CACZHyTOM7jeRypbK0FR_a4onCoZ5ZQy6kyCdF=nnXzNwk-FVMQ@mail.gmail.com> |
Pascal wrote: > Since the name of the C structure is regex_t, and since it contains > one useful slot (re_nsub), perhaps you could name the type regex, > and provide a regex-nsub reader. Done. Regarding the multiple values: regexp-exec allows to specify the return type: multiple values, list, vector, boolean. > IMO, it should always return multiple values, or always return a > sequence. I'd say to be consistent then, that is returning multiple values when they're requested, and to follow what you wrote: > just limit nmatch to multiple-values-limit or the actual number of > expected values. I pushed these changes to my "working fork". ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ clisp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/clisp-devel