Version

WhitespacePattern Property

Gets or sets the regular expression pattern used to identify non-newline whitespace by the syntax analysis layer.
Syntax
'Declaration
 
Public Property WhitespacePattern As String
public string WhitespacePattern {get; set;}
Exceptions
ExceptionDescription
System.InvalidOperationExceptionOccurs when the value is set and IsMutable is False.
System.ArgumentException Occurs when the value specified is not a valid regular expression pattern.
Remarks

By default, the pattern '[ \t]+' is used, which matches the ASCII characters 9 (horizontal tab) and 32 (space). This property can be set to any valid regular expression pattern to change the definition of whitespace for this grammar.

To suppress automatic whitespace parsing, set this property to null or an empty string.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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