private static boolean glob_character(char c)
    {
        boolean glob;
        switch (c)
        {
        case '*':
        case '?':
        case '-':
        case ',':
        case '{':
        case '}':
        case '[':
        case ']':
            glob = true;
            break;
            
        default:
            glob = false;
            break;
        }
        return glob;
    }