--- In [email protected], "entropyreduction" <alancampbelllists+ya...@...> wrote: > > --- In [email protected], "Sheri" <sherip99@> wrote: > > > > True. Ok, how about: > > > > an aka for offsets: starts > > new option: ends > > new option: lengths > > Can one have all three at once? With the match itself, that makes > four vector entries per capture?
Would you rather do only starts and lengths (and not do ends)? I figured it would be up to user to decide which of above (if any) and whether to suppress the strings and/or captures. Probably the useful combinations would be "nosubstrings starts ends" or "nosubstrings starts lengths". Maybe sometimes also nocaptures. So user probably won't ever want more than two entries per whole match, plus sometimes two per subpattern match. The vector entry size could be much small when nosubtrings option is in effect (which I wish we'd named "nostrings"). Regards, Sheri
