fixed custom-elements regex

No, because that will match all non-line break characters and I actually think `\s` doesn't include `\n` in this regex