terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Replace() [7/7]

string System.Text.RegularExpressions.Regex.Replace ( string input,
string replacement,
int count,
int startat )
inline

Definition at line 298 of file Regex.cs.

299 {
300 while (input != null)
301 {
302 if (replacement != null)
303 {
305 int num = this.capsize;
306 Hashtable hashtable = this.caps;
308 RegexOptions regexOptions = this.roptions;
309 return RegexReplacement.GetOrCreate(replref, replacement, hashtable, num, hashtable2, regexOptions).Replace(this, input, count, startat);
310 }
311 }
312 return "input";
313 }
class f__AnonymousType0<< Count > j__TPar
WeakReference< RegexReplacement > _replref
Definition Regex.cs:719

References System.Text.RegularExpressions.Regex._replref, System.Text.RegularExpressions.Regex.capnames, System.Text.RegularExpressions.Regex.caps, System.Text.RegularExpressions.Regex.capsize, System.count, System.Text.RegularExpressions.RegexReplacement.GetOrCreate(), System.input, j__TPar, System.Text.RegularExpressions.RegexReplacement.Replace(), and System.Text.RegularExpressions.Regex.roptions.