Tighten tagname regex.