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

AppendNegativeBackAssertion() public method

Appends a negative lookbehind assertion with a specified content.
public AppendNegativeBackAssertion ( object content ) : void
content object An assertion content.
return void
        public void AppendNegativeBackAssertion(object content)
        {
            AppendGroupStart();

            if (_fBuilder)
                _builder.AddInfo(SyntaxKind.NegativeBackAssertion);

            AppendDirect("<!");
            AppendGroupContent(content);
            AppendGroupEnd();
        }

Usage Example

 internal override void AppendTo(PatternBuilder builder)
 {
     builder.AppendNegativeBackAssertion(_backAssertion);
     builder.Append(_content);
     builder.AppendNegativeAssertion(_assertion);
 }