Exemple #1
0
            private IPositiveLookbehindAssertion ParsePositiveLookbehindGroup()
            {
                ++index; // swallow the '='
                var item = Parse();

                return(PositiveLookbehindAssertion.Of(item));
            }
Exemple #2
0
        /// <summary>
        /// Creates a group that is not captured.
        /// </summary>
        /// <returns>The non-capture group.</returns>
        public static IPositiveLookbehindAssertion From(IEnumerable <IExpression> members)
        {
            if (members == null)
            {
                throw new ArgumentNullException(nameof(members));
            }
            var group = new PositiveLookbehindAssertion();

            foreach (var expression in members)
            {
                group.Add(expression);
            }
            return(group);
        }