正在搜索 - >在Github上 [英] Searching for -> on Github

查看:201
本文介绍了正在搜索 - >在Github上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何转义> ,以便我可以在github中搜索 - > 的所有实例存储库?



我试图使用 - >但仍看到 > 作为操作员。是否有可以添加的转义字符以便搜索起作用?

//stackoverflow.com/a/3616259/6309>基于elasticsearch ,它有保留字符比您可以逃脱。



'> '和'< '是可选运算符用于区间,并且它似乎不会被该字符转义(在方式GitHub使用或配置了ealasticsearch)。

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).

这篇关于正在搜索 - &gt;在Github上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆