It does, but I shouldn't have to look at the regex to know that I wasn't using \s (whitespace characters only), especially when the name and comment both infer spaces are removed.

The comment is just fluff and should be removed and the regex should be renamed to something more fitting, which goes back to naming stuff is hard :)