Swap out spaces for all whitespace characters

Swaps out all `[ ]` for `[\s]` to match all whitespace characters, not just new lines. Fixes #3