Proposal: Expose offsets for capturing groups in regular expression matches

Erik Corry erik.corry at
Thu Mar 23 15:00:35 UTC 2017

This would be great.  Can I suggest that both the start and end of each
match should be there.  So instead of offsets you would have "starts" and
"ends".  Alternatively, offsets should be twice as long with start-end
pairs in it.

On Mon, Oct 31, 2016 at 9:53 AM, Sebastian Zartner <
sebastianzartner at> wrote:

> Hello together,
> for advanced processing of capturing groups in regular expression, I'd
> like to propose to expose their offsets within the results of executing an
> expression on a string.
> The complete proposal can be found at
> es-proposal-regexp-capturing-group-offsets.
> I'd like it to be added to the Stage 0 proposals
> <> and
> I'm asking for feedback and a champion to help me bring it into shape and
> get it into the standard.
> Thank you in advance,
> Sebastian
> _______________________________________________
> es-discuss mailing list
> es-discuss at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list