[This is preliminary documentation and is subject to change.]
Sets a new regular expression pattern for token matching.
Declaration Syntax
C# |
public static void SetPattern( string patternToSet )
Parameters
- patternToSet (String)
- The new pattern to set.
Remarks
This pattern is intended only to match the extent of the literal.
Scanning for the correctness of the literal is performed separately. The
default pattern is [\+-]?\d+, which matches a set of digits
optionally preceded with a sign.