OP did include a space in his match set and also \, both of which are a bit of a hint. :)
I was under the impression the *nix could handle spaces in directories/file names in any case - it's just that because no one much uses them, *nix applications are even worse at being robust against spaces than Windows applications are.
They can come with all sorts of interesting characters, even non-printing ones which makes the output of ls interesting. What I mean is, you don't normally create files with spaces when footling around in the shell so it is less likely that you will have a /path/to/script with spaces. You often get paths with spaces on partitions that have been Samba shared to MS Windows boxes, "New Folder" being prevalent :-(