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

◆ IsMatched()

bool System.Text.RegularExpressions.Match.IsMatched ( int cap)
inlinepackageinherited

Definition at line 165 of file Match.cs.

166 {
167 int[] matchcount = _matchcount;
168 if ((uint)cap < (uint)matchcount.Length && matchcount[cap] > 0)
169 {
170 return _matches[cap][matchcount[cap] * 2 - 1] != -2;
171 }
172 return false;
173 }

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

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