add smartcase and ignorecase