Searching for -> on Github

后端 未结 1 1638
鱼传尺愫
鱼传尺愫 2021-02-19 18:09

How do I escape the > so I can search for all instances of -> in a github repository?

I have attempted using \"->\" but t

1条回答
  •  鱼传尺愫
    2021-02-19 18:50

    GitHub search is based on elasticsearch, which has reserved characters than you can escape.

    '>' and '<' are optional operators used for intervals, and it doesn't seem for that character to be escaped (in the way GitHub is using or has configured ealasticsearch).

    0 讨论(0)
提交回复
热议问题