SplitOptions
Enum
Definition
A enum corresponding to the options on the -split operator.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
[System.Flags]
public enum SplitOptions
- Inheritance
-
SplitOptions
- Attributes
Fields
| CultureInvariant | CultureInvariant: Ignores cultural differences in language when evaluting the delimiter. Valid only with RegexMatch. |
| ExplicitCapture | Ignores non-named match groups, so that only explicit capture groups are returned in the result list. |
| IgnoreCase | Forces case-insensitive matching, even if -cSplit is specified. |
| IgnorePatternWhitespace | Ignores unescaped whitespace and comments marked with #. Valid only with RegexMatch. |
| Multiline | 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 | Use regular expression matching to evaluate the delimiter. This is the default behavior. Cannot be used with SimpleMatch. |
| SimpleMatch | Use simple string comparison when evaluting the delimiter. Cannot be used with RegexMatch. |
| Singleline | Regex Singleline mode, which recognizes only the start and end of strings. Valid only with RegexMatch. Singleline is the default. |