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

◆ Run()

Match System.Text.RegularExpressions.Regex.Run ( bool quick,
int prevlen,
string input,
int beginning,
int length,
int startat )
inlinepackage

Definition at line 337 of file Regex.cs.

338 {
339 if ((uint)startat > (uint)input.Length)
340 {
341 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.startat, ExceptionResource.BeginIndexNotNegative);
342 }
343 if ((uint)length > (uint)input.Length)
344 {
345 ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument.length, ExceptionResource.LengthNotNegative);
346 }
347 RegexRunner regexRunner = RentRunner();
348 try
349 {
351 }
352 finally
353 {
355 }
356 }
void ReturnRunner(RegexRunner runner)
Definition Regex.cs:386

References System.Text.RegularExpressions.input, System.Text.RegularExpressions.Regex.internalMatchTimeout, System.Text.RegularExpressions.length, System.Text.RegularExpressions.Regex.RentRunner(), System.Text.RegularExpressions.Regex.ReturnRunner(), System.Text.RegularExpressions.startat, and System.Text.RegularExpressions.ThrowHelper.ThrowArgumentOutOfRangeException().

Referenced by System.Text.RegularExpressions.MatchCollection.GetMatch(), and System.Text.RegularExpressions.Match.NextMatch().