--- In [email protected], "Sheri" <sheri...@...> 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)?

No, just checking you meant what you said.  If user wants
four vec items per capture, she can have four.  Who am I to argue.

> 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").

Want "nostrings" aka "nosubtrings"?  

Okay, will implement

  starts aka offsets, ends, lengths, nostrings aka nosubtrings



Reply via email to