On 2/20/20 4:46 PM, Ali Çehreli wrote:

>    auto range = std.regex.splitter!(No.keepSeparators)(l,
> ctRegex!`[\s-\)\(\.]+`);

After realizing that No.keepSeparators is the default value anyway, I tried 'split' and it worked the way you wanted. So, perhaps all you needed was that extra '+' in the regex pattern:

  std.regex.split(l, ctRegex!`[\s-\)\(\.]+`)

Ali


Reply via email to