Prevent ignorecase when using * and #