fixed custom-elements regex

In fact \s includes \n, i just checked it. \w+(-\w+)+(?![^\n]) good version, check it out. It does not affect any other CSS properties like z-index: 1 or z-index: 1 or z-index:1