Supports tag names with hyphens like foo-bar.

This fixes Issue #123.  If someone provides a tag name like "tag-name", the current document.createDocumentFragment only creates a "tag" and "name" element.  This fixes the regular expression used to match against the joined elements array.