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?
Users who have been selected for the beta are now able to search select repositories by pressing f on the repository page and entering their desired query. By default, it will return results which exactly match the given query (including word boundaries).
You can search an entire repo in github by using the search bar found at the top left corner of the screen. Great answer.
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With