Hi! On Mon, Apr 09, 2018 at 08:57:04AM -0700, Paul Lalonde wrote: > The FindReaderSubmatchIndex may need to read arbitrarily far after the end > of the match, so if you want multiple matches you'll need a ReadSeeker and > re-wind to the end of the previous match.
Ah, I see. So I should manually track absolute seek position where I call FindReaderSubmatchIndex. Is this example does what you've asked for in original question? https://play.golang.org/p/LcjLGxkkhmB -- WBR, Alex. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.