`\s` will end up matching the line break of the previous line; resulting in an empty line between every resource. I found this: http://stackoverflow.com/questions/3469080/how-do-i-match-whitespace-but-not-newlines

I had `/[^\w\n]/` which I think I used `\w` instead of their `\S` just to make it less confusing for me but I think it was matching more than just white space. Strange that it was still working though. I changed it back to `\S` and it works just the same now.