On Monday, 16 January 2012 at 19:28:42 UTC, Jerry wrote: > As far as I can tell, the only way to do this would be to > capture every chunk of text, then iterate to determine the > offsets. Not sure if this is what you were referring to, but you can do... m.pre.length + m.captures[1].ptr - m.hit.ptr