Expose setting the offset at which to start matching a regexp

Needed to support finding multiple matches without breaking patterns with anchors like `^` or `$`.