   if (search != "" && minmatches != "") {
            if (matchescount < minmatches) {
                return;
            }
        }
        if (search != "" && maxmatches != "") {
            if (matchescount > maxmatches) {
                return;
            }
        }
        let shownvalue = "";
        switch(document.getElementById('showdetail').value)
        {
            case "chars":
            shownvalue = len;
            break;
            case "words":
            shownv