fixed custom-elements regex

\s includes \n also. I think good version is \w+(-\w+)+(?![^\n])