Replace each tab character in r with the number of spaces necessary to align the following character at the next tab stop.
string or forward range
distance between tab stops
lazy forward range with tabs replaced with spaces
import std.array : array; assert(detabber(" \n\tx", 9).array == " \n x");
Replace each tab character in r with the number of spaces necessary to align the following character at the next tab stop.