public NamedGroup(string name, object content) : base(content) { RegexUtility.CheckGroupName(name, nameof(name)); Name = name; }
public IfGroup(string groupName, object trueContent, object falseContent) { RegexUtility.CheckGroupName(groupName); GroupName = groupName; _trueContent = trueContent ?? throw new ArgumentNullException(nameof(trueContent)); _falseContent = falseContent; }
public BalancingGroup(string name1, string name2, object content) : base(content) { RegexUtility.CheckGroupName(name1, nameof(name1)); RegexUtility.CheckGroupName(name2, nameof(name2)); Name1 = name1; Name2 = name2; }
internal NamedGroupSubstitution(string groupName) { RegexUtility.CheckGroupName(groupName); GroupName = groupName; }
public GroupNameReference(string groupName) { RegexUtility.CheckGroupName(groupName); GroupName = groupName; }