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

◆ ScanReplacement()

RegexNode System.Text.RegularExpressions.RegexParser.ScanReplacement ( )
inlineprivate

Definition at line 452 of file RegexParser.cs.

453 {
454 _concatenation = new RegexNode(25, _options);
455 while (true)
456 {
457 int num = CharsRight();
458 if (num == 0)
459 {
460 break;
461 }
462 int num2 = Textpos();
463 while (num > 0 && RightChar() != '$')
464 {
465 MoveRight();
466 num--;
467 }
469 if (num > 0)
470 {
471 if (RightCharMoveRight() == '$')
472 {
474 }
476 }
477 }
478 return _concatenation;
479 }

References System.Text.RegularExpressions.RegexParser._concatenation, System.Text.RegularExpressions.RegexParser._options, System.Text.RegularExpressions.RegexParser.AddConcatenate(), System.Text.RegularExpressions.RegexParser.AddUnitNode(), System.Text.RegularExpressions.RegexParser.CharsRight(), System.Text.RegularExpressions.RegexParser.MoveRight(), System.Text.RegularExpressions.RegexParser.RightChar(), System.Text.RegularExpressions.RegexParser.RightCharMoveRight(), System.Text.RegularExpressions.RegexParser.ScanDollar(), and System.Text.RegularExpressions.RegexParser.Textpos().