[This is preliminary documentation and is subject to change.]
Sets a new regular expression pattern for matching datetime Tokens.
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 '[^']+', which matches a set of characters
between single quotes.