Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ MatchLength()

int System.Text.RegularExpressions.Match.MatchLength ( int cap)
inlinepackageinherited

Definition at line 186 of file Match.cs.

187 {
188 int[][] matches = _matches;
189 int num = matches[cap][_matchcount[cap] * 2 - 1];
190 if (num < 0)
191 {
192 return matches[cap][-3 - num];
193 }
194 return num;
195 }

References System.Text.RegularExpressions.Match._matchcount, and System.Text.RegularExpressions.Match._matches.

Referenced by System.Text.RegularExpressions.RegexRunner.MatchLength().