SplitOptions Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A enum corresponding to the options on the -split operator.
This enumeration supports a bitwise combination of its member values.
public enum class SplitOptions
[System.Flags]
public enum SplitOptions
[<System.Flags>]
type SplitOptions =
Public Enum SplitOptions
- Inheritance
-
SplitOptions
- Attributes
Fields
Name | Value | Description |
---|---|---|
SimpleMatch | 1 | Use simple string comparison when evaluating the delimiter. Cannot be used with RegexMatch. |
RegexMatch | 2 | Use regular expression matching to evaluate the delimiter. This is the default behavior. Cannot be used with SimpleMatch. |
CultureInvariant | 4 | CultureInvariant: Ignores cultural differences in language when evaluating the delimiter. Valid only with RegexMatch. |
IgnorePatternWhitespace | 8 | Ignores unescaped whitespace and comments marked with #. Valid only with RegexMatch. |
Multiline | 16 | Regex multiline mode, which recognizes the start and end of lines, as well as the start and end of strings. Valid only with RegexMatch. Singleline is the default. |
Singleline | 32 | Regex Singleline mode, which recognizes only the start and end of strings. Valid only with RegexMatch. Singleline is the default. |
IgnoreCase | 64 | Forces case-insensitive matching, even if -cSplit is specified. |
ExplicitCapture | 128 | Ignores non-named match groups, so that only explicit capture groups are returned in the result list. |