protected BasePattern(PatternType type, int minCharLength) { Type = type; MinCharLength = minCharLength; }