How do I escape the >
so I can search for all instances of ->
in a github repository?
I have attempted using "->"
but that still sees the >
as an operator. Is there an escape character I can add so that the search will work?
How do I escape the >
so I can search for all instances of ->
in a github repository?
I have attempted using "->"
but that still sees the >
as an operator. Is there an escape character I can add so that the search will work?
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).