fixed custom-elements regex

I think this should  be `\s` and not `\ `, because people also use tabs and other weird space characters