my @parts = $string =~ /([^:\\]*(?:\\.[^:\\]*)*)(?(?{length $^N})|(?!) +)/g; [download]
Abigail
In reply to Re: split on unescaped delimiters by Abigail-II in thread split on unescaped delimiters by bsb