Updated: April 27, 2016
Applies To: Windows PowerShell
Defines the options available for the –split operator that is used to separate one or more strings into substrings. This class is introduced in Windows PowerShell 2.0.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Assembly: System.Management.Automation (in System.Management.Automation.dll)
CultureInvariant: Ignores cultural differences in language when evaluting the delimiter. Valid only with RegexMatch.
Ignores non-named match groups, so that only explicit capture groups are returned in the result list.
Forces case-insensitive matching, even if -cSplit is specified.
Ignores unescaped whitespace and comments marked with #. Valid only with RegexMatch.
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.
Use regular expression matching to evaluate the delimiter. This is the default behavior. Cannot be used with SimpleMatch.
Use simple string comparison when evaluting the delimiter. Cannot be used with RegexMatch.
Regex Singleline mode, which recognizes only the start and end of strings. Valid only with RegexMatch. Singleline is the default.