Searching for "-[feature-request] [comments]" should return a list of questions that have the tag
[comments] but not the tag
[feature-request]. The right hand sidebar says that, but the search results are identical to "[feature-request] [comments]".
As random points out, the operator works, but seems to be broken if a minus sign is the first tag in the resulting search URL. This is a problem because the system re-orders the tags when you put them into the search box, always putting the one with the minus sign first.
Edit: Here's another behaviour that I haven't encountered until now. I was trying to pattern search for tags that contain 'array' but NOT include '-array', so I did the search like so. The resulting page shows the right tags with the right operators on them, but the results aren't being filtered properly (the first result includes
[multidimensional-array]). So I simplified and did this (1,960 results), and then did this (1,963 results -- what??), which still included that first question with
[multidimensional-array] on it. Something is not working right here.
-first: entering a pure tag search in the will sort the tags alphabetically, and
-apparently precedes everything else. However, if you include non-tag parameters, this sorting does not occur. Doesn't fix the underlying issue, but it's something to note.