Hi Edi & list,
While using cl-ppcre:split recently, I discover that when the regex match at pos 0, the function returns an empty string in first pos,
where I think it should not as I do not consider the empty string being a substring of the original one.
I don't know the Perl behaviour in this particular case, but I hope it is not a peculiar behaviour as the doc says :-)
Ex : (cl-ppcre:split "\\s+" " foo bar baz ")
==> ("" "foo" "bar" "baz")
I would prefer to get ("foo" "bar" "baz")
What do you think of it ?
Thks, Sebastien.