private function isValidHtml5Heading(string $heading) : bool { return 1 === preg_match('/^\\x{FEFF}?\\s*(<!--[^>]*?-->\\s*)*$/u', $heading); }