Splits the string segment by the specified regular expression.
public IEnumerable<StringSegment> Split(Regex regex)
| parameter | description |
|---|---|
| regex | The regular expression. |
A collection of string segments corresponding to the split. Consult the Split method of the Regex class for more information.