Version

LookaheadPattern Property

Gets or sets the regular expression pattern which is used to match the text following a token associated with the TerminalSymbol to determine if the token can actually be used or not.
Syntax
'Declaration
 
Public Property LookaheadPattern As String
public string LookaheadPattern {get; set;}
Exceptions
ExceptionDescription
System.InvalidOperationExceptionOccurs when the IsMutable value of the owning Grammar is False.
System.ArgumentException Occurs when the specified value contains invalid regular expression elements.
Remarks

If LookaheadPattern is set, IsLookaheadNegative indicates whether the token should be used based on whether it can match the text following the token. If IsLookaheadNegative is True, the token will only be used if the LookaheadPattern cannot match the text after the token. If False, the token will only be used if the LookaheadPattern can match the text after the token.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also