zoekt: 28 files / 200 matches / 0.59ms neogrok: 20 files / 127 matches
neogrokinternal/e2e/examples/example.cc 13 matches | C++ | №1
neogrokdoc/design.md 2 matches | Markdown | №2
neogrokweb/templates.go 9 matches | Go | №3
174
<dt><a href="search?q=path+-file:java">path -file:java</a></dt><dd>search for the word "path" excluding files whose name contains "java"</dd>175 <dt><a href="search?q=foo.*bar">foo.*bar</a></dt><dd>search for the regular expression "foo.*bar"</dd>176 <dt><a href="search?q=-%28Path File%29 Stream">-(Path File) Stream</a></dt><dd>search "Stream", but exclude files containing both "Path" and "File"</dd>neogrokdoc/query_syntax.md 9 matches | Markdown | №4
30
| `archived:` | | `yes` or `no` | Filters archived repositories. | `archived:yes` |31 | `case:` | | `yes`, `no`, or `auto` | Matches case-sensitive or insensitive text. | `case:yes content:"Foo"` |32 | `content:` | `c:` | Regex pattern | Searches content of files. | `content:"search term"` |neogroklanguages/extensions.go 2 matches | Go | №5
neogrokinternal/e2e/examples/example.py 2 matches | Python | №6
neogrokinternal/e2e/examples/example.scala 3 matches | Scala | №7
neogrokapi_test.go 3 matches | Go | №8
neogrokindex/index_test.go 9 matches | Go | №9
neogrokindex/ctags_test.go 5 matches | Go | №10
25
func TestTagsToSections(t *testing.T) {26 c := []byte("package foo\nfunc bar(j int) {}\n//bla")27 // ----------01234567890 1234567890123456789 01234546
func TestTagsToSectionsMultiple(t *testing.T) {47 c := []byte("class Foo { int x; int b; }")48 // ----------012345678901234567890123456neogrokquery/query_test.go 8 matches | Go | №11
103
func TestMap(t *testing.T) {104 in := NewAnd(&Substring{Pattern: "bla"}, &Not{&Repo{Regexp: regexp.MustCompile("foo")}})105 out := NewAnd(&Substring{Pattern: "bla"}, &Not{&Const{false}})neogrokquery/parse_test.go 23 matches | Go | №12
118
)},119 {"(foo case:yes) bar", NewAnd(120 &Substring{Pattern: "foo", CaseSensitive: true},121 &Substring{Pattern: "bar"},122 )},123 {"(case:yes foo) bar", NewAnd(124 &Substring{Pattern: "foo", CaseSensitive: true},125 &Substring{Pattern: "bar"},126 )},127 {"(case:yes foo (bar))", NewAnd(128 &Substring{Pattern: "foo", CaseSensitive: true},129 &Substring{Pattern: "bar", CaseSensitive: true},neogrokquery/regexp_test.go 2 matches | Go | №13
neogrokignore/ignore_test.go 8 matches | Go | №14
neogroksearch/watcher_test.go 10 matches | Go | №15
neogrokquery/query_proto_test.go 5 matches | Go | №16
neogrokinternal/json/json_test.go 1 match | Go | №17
neogrokindex/file_category_test.go 5 matches | Go | №18
neogrokinternal/e2e/scoring_test.go 2 matches | Go | №19
neogroklanguages/extensions_test.go 6 matches | Go | №20
95
for ext, language := range unsupportedByEnryExtensionToNameMap {96 filename := "foo" + ext97 languages, _ := getLanguagesByExtension(filename)104
for ext, language := range overrideAmbiguousExtensionsMap {105 filename := "foo" + ext106 enryLangs := enry.GetLanguagesByExtension(filename, nil, nil)117
for ext, language := range nonAmbiguousExtensionsCheck {118 filename := "foo" + ext119 languages, isLikelyBinaryFile := getLanguagesByExtension(filename)