21

I'm finding it impossible to search for C-- on Stackoverflow. It doesn't seem to have a tag either. Is this a limitation of the search system Stackoverflow uses?

  • 11
    What's C--??? – Mysticial Sep 28 '12 at 15:50
  • @Mysticial My first question too. Turns out, it's hard to search for! It does exist though. – blahdiblah Sep 28 '12 at 15:50
  • 1
    @Mysticial cminusminus.org – dmckee Sep 28 '12 at 15:50
  • 10
    There is a c-minus-minus tag. – hammar Sep 28 '12 at 15:51
  • I'm mildly surprised that the wiki article is not on the first page of hits on Google. – Mysticial Sep 28 '12 at 15:52
  • 1
    @hammar with 3 questions in it – Kate Gregory Sep 28 '12 at 15:57
  • @KateGregory Looks like it didn't catch on – bobobobo Sep 28 '12 at 17:10
  • 7
    Fortunately C+- is just still C :) – Tim Post Sep 29 '12 at 8:12
27

There IS such a tag: . It's just not used very much.

There isn't a "c--" tag because it doesn't conform to the current tag naming rules; anyone attempting to use "c--" as a tag will see it automatically converted to "c". This might explain why some C-- questions are tagged as instead. If you do come across these, do retag them to .

As for search, unfortunately punctuations and symbols are not currently accounted for and so a search for "C--" gives the same results as "C" 1.

An alternative would be to use SymbolHound, however for such a short (and ambiguous) term you may need to wade through quite a few false positives.

Update:

Using the new search engine, it is now possible to search for "C--" (quotes required).


Footnotes:

1 Google does not deal with "C--" either.

  • 5
    In case anyone's interested, I wrote a user script for this purpose: SymbolHound Search – Dennis Sep 28 '12 at 15:59
  • Hmm - searching for "C--" (with quotes), does not give me any results. – JonasCz Mar 6 '16 at 19:37
2

The only way to search for c-- is to use the code: search operator, as in code:"c--" , although it just returns questions where c-- is inside code tags.

I tried with body:"c--", but it just searches for c, and body:"c\-\-", but the result is the same.

2

As Shawn's answer notes, you can now search for terms with symbols like this just by using quotes.

For example search for "C--"

You must log in to answer this question.