private Object GetLastIndex() { return this.lastRegexMatch == null ? -1 : this.lastRegexMatch.Length == 0 ? this.lastRegexMatch.Index + 1 : this.lastRegexMatch.Index + this.lastRegexMatch.Length; }