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

◆ TypeFromCode()

int System.Text.RegularExpressions.RegexParser.TypeFromCode ( char ch)
inlineprivate

Definition at line 1484 of file RegexParser.cs.

1485 {
1486 return ch switch
1487 {
1488 'b' => UseOptionE() ? 41 : 16,
1489 'B' => UseOptionE() ? 42 : 17,
1490 'A' => 18,
1491 'G' => 19,
1492 'Z' => 20,
1493 'z' => 21,
1494 _ => 22,
1495 };
1496 }

References System.ch, and System.Text.RegularExpressions.RegexParser.UseOptionE().

Referenced by System.Text.RegularExpressions.RegexParser.ScanBackslash().