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

◆ CanEasilyEnumerateSetContents()

static bool System.Text.RegularExpressions.RegexCharClass.CanEasilyEnumerateSetContents ( string set)
inlinestaticprivate

Definition at line 787 of file RegexCharClass.cs.

788 {
789 if (set.Length > 3 && set[1] > '\0' && set[1] % 2 == 0 && set[2] == '\0')
790 {
791 return !IsSubtraction(set);
792 }
793 return false;
794 }
static bool IsSubtraction(string charClass)

References System.Text.RegularExpressions.RegexCharClass.IsSubtraction().

Referenced by System.Text.RegularExpressions.RegexCharClass.Analyze(), System.Text.RegularExpressions.RegexCharClass.GetSetChars(), and System.Text.RegularExpressions.RegexCharClass.MayOverlap().