16

For example, how do I search for the search string "select *"?

I didn't find the answer here: https://stackoverflow.com/help/searching

It specifies that asterisk is the wildcard character but it does not specify how to escape it. I have tried the following:

  • "select *"
  • "select \*"

... and several other guesses.

1
  • 4
    You don't escape wildcards, wildcards escape you.
    – Braiam
    Commented Jun 7, 2016 at 19:07

2 Answers 2

19

Alas, this is not supported by the Stack Overflow search engine. Even Google is no help in this case (barring the trick mentioned by Oriol below) - it seems to interpret * as 'any word'. The only working option I know of is the advanced search of SymbolHound, which is a tool specifically designed for these kind of queries.

enter image description here

1
  • Well, not exactly what I was looking for, but it is an acceptable workaround . Thanks!!! Commented Jun 6, 2016 at 14:39
13

You can search this using Google:

select+asterisk site:stackoverflow.com

For example, the results include this question, which contains * but not asterisk.

6
  • 2
    Your linked question does contain the word asterisk -- as part of one of the answers. Commented Jun 7, 2016 at 17:19
  • @RossPresser I can't find it using Firefox's search.
    – Oriol
    Commented Jun 7, 2016 at 17:27
  • Maybe I was wrong Commented Jun 7, 2016 at 17:29
  • 2
    Right now, it does contain "asterisk" for me as this question is one of the "hot meta questions" shown on the page! Commented Jun 7, 2016 at 17:32
  • @TheArchetypalPaul True, but when I posted this answer I checked Google cache and "asterisk" didn't appear because the "hot meta questions" list was older.
    – Oriol
    Commented Jun 7, 2016 at 17:37
  • Sure. I was just amused. I should have added an emoticon Commented Jun 7, 2016 at 17:51

Not the answer you're looking for? Browse other questions tagged .