Primitive predicate string::regexpFind

Returns a substring of the receiver which matches the given regexp. Also returns the offset within the receiver at which the match occurred (occurrenceOffset), and the number of matches which occur at smaller offsets (occurrenceIndex)

string regexpFind(string regexp, int occurrenceIndex, int occurrenceOffset)