How do I escape characters in GitHub code search?

前端 未结 3 1218
南方客
南方客 2021-02-04 23:12

I\'m trying to use GitHub\'s code search to search for some lines of code containing characters like =, +, etc.

I understand from https://help.

3条回答
  •  半阙折子戏
    2021-02-04 23:39

    I dont think you can escape characters for github

    From searching code doc:

    You can't use the following wildcard characters as part of your search query: . , : ; / \ ` ' " = * ! ? # $ & + ^ | ~ < > ( ) { } [ ]. The search will simply ignore these symbols.

提交回复
热议问题