I would like to be able to gather all the indices of matches inside
repeated closures, instead of just retrieving one of them.

A simple example:
matching regexp (abc)* against zyabcabcabc  will only allow the start/end
locations of one of the three abc sequences to be retrieved.  I would like
to retrieve all of them.  Obviously this is an excessively simple example,
but it conveys the idea.

Is there a relatively simple way to do this already?  Or a workaround I
could use that wouldn't be very ugly or slow?

Is there enough demand to add this capability?  It seems like it should be
relatively easy to do.  I could start working on it if others want it.

Ian


Reply via email to