Returns an iterator that iterates backwards over the slices of buffer that
are separated by any item in delimiters.
splitBackwardsAny(u8, "abc,def||ghi", "|,") will return slices
for "ghi", "", "def", "abc", null, in that order.
If none of delimiters exist in buffer,
the iterator will return buffer, null, in that order.
See also: splitBackwardsSequence, splitBackwardsScalar,
splitSequence, splitAny,splitScalar,
tokenizeAny, tokenizeSequence, and tokenizeScalar.
pub fn splitBackwardsAny(comptime T: type, buffer: []const T, delimiters: []const T) SplitBackwardsIterator(T, .any)
pub fn splitBackwardsAny(comptime T: type, buffer: []const T, delimiters: []const T) SplitBackwardsIterator(T, .any) {
return .{
.index = buffer.len,
.buffer = buffer,
.delimiter = delimiters,
};
}