Curious, where's the offset? I can do this with String#index: str.index(/re/,offset) $~.begin $~.end But not with Regexp itself? T.