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

AppendCount() public method

Appends a quantifier that matches previous element specific number of times.
is less than zero.
public AppendCount ( int exactCount, bool lazy ) : void
exactCount int A number of times the pattern must be matched.
lazy bool Indicates whether the quantifier will be greedy or lazy.
return void
        public void AppendCount(int exactCount, bool lazy)
        {
            if (exactCount < 0)
                throw new ArgumentOutOfRangeException(nameof(exactCount));

            AppendCountInternal(exactCount);

            if (lazy)
                AppendLazy();
        }

Same methods

PatternBuilder::AppendCount ( int exactCount ) : void
PatternBuilder::AppendCount ( int minCount, int maxCount ) : void
PatternBuilder::AppendCount ( int minCount, int maxCount, bool lazy ) : void