From: Daniel J. <dan...@gm...> - 2016-06-21 08:47:42
|
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". |