Pihrtsoft.Text.RegularExpressions.Linq.PatternBuilder.AppendIfGroup C# (CSharp) Method

AppendIfGroup() public method

Appends an if construct.
or is null. is not a valid regex group name.
public AppendIfGroup ( string groupName, object trueContent, object falseContent ) : void
groupName string A name of the group.
trueContent object The pattern to match if the named group is matched.
falseContent object The pattern to match if the named group is not matched.
return void
        public void AppendIfGroup(string groupName, object trueContent, object falseContent)
        {
            AppendIfGroupInternal(groupName, trueContent, falseContent, true);
        }

Same methods

PatternBuilder::AppendIfGroup ( int groupNumber, object trueContent, object falseContent ) : void