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
CultureInvariant | 4 | CultureInvariant: Ignores cultural differences in language when evaluating the delimiter. Valid only with RegexMatch. |
ExplicitCapture | 128 | Ignores non-named match groups, so that only explicit capture groups are returned in the result list. |
IgnoreCase | 64 | Forces case-insensitive matching, even if -cSplit is specified. |
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. |
RegexMatch | 2 | Use regular expression matching to evaluate the delimiter. This is the default behavior. Cannot be used with SimpleMatch. |
SimpleMatch | 1 | Use simple string comparison when evaluating the delimiter. Cannot be used with RegexMatch. |
Singleline | 32 | Regex Singleline mode, which recognizes only the start and end of strings. Valid only with RegexMatch. Singleline is the default. |