Rename build_whitepace_splited_regex to build_whitespace_split_regex

This function has multiple typos in its name so I renamed it but retained backwards compatibility.