Regex whitespace

Why does this pull request includes the commits from the other pull requests? How to submit a chain of patches that depend on each other to Github? I doesn't look like this works at all. I must have done something wrong, but what?