third try based on RegexSplit