public override string ToRegexPattern()
        {
            string result = string.Format
                            (
                CultureInfo.InvariantCulture,
                "(?({0}){1}|{2})",
                string.IsNullOrEmpty(ConditionGroupName) ? ConditionExpression.ToRegexPattern() : ConditionGroupName,
                TrueMatchExpression.ToRegexPattern(),
                FalseMatchExpression.ToRegexPattern()
                            );

            if (HasQuantifier)
            {
                result += Quantifier.ToRegexPattern();
            }

            return(result);
        }