nit: the comment says "white space character" which generally includes tabs, but this is just a single "space character".