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

AppendBackAssertion() public method

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

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

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

Usage Example

Example #1
0
 internal override void AppendTo(PatternBuilder builder)
 {
     builder.AppendBackAssertion(_backAssertion);
     builder.Append(_content);
     builder.AppendAssertion(_assertion);
 }