set ignorecase and smartcase to true