Split a String with a certain pattern, but keep the delimiters.
List<String> splitWithDelim(RegExp pattern) => pattern.allMatchesWithSep(this);