zoekt: 28 files / 243 matches / 1.21ms neogrok: 20 files / 129 matches
github.com/sourcegraph/zoektbuild/testdata/example.cc 13 matches | C++ | №1
github.com/sourcegraph/zoektweb/templates.go 9 matches | Go | №2
168
<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>
169 <dt><a href="search?q=foo.*bar">foo.*bar</a></dt><dd>search for the regular expression "foo.*bar"</dd>
170 <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>
github.com/isker/neogroksrc/routes/(opengrok-compat)/search/opengrok-lucene.server.ts 3 matches | TypeScript | №3
github.com/sourcegraph/zoektapi_test.go 3 matches | Go | №4
github.com/sourcegraph/zoektindex_test.go 9 matches | Go | №5
github.com/sourcegraph/zoektscore_test.go 4 matches | Go | №6
github.com/sourcegraph/zoektbuild/e2e_test.go 24 matches | Go | №7
608
var (
609 fooAtMain = zoekt.Document{Name: "foo.go", Branches: []string{"main"}, Content: []byte("common foo-main-v1")}
610 fooAtMainV2 = zoekt.Document{Name: "foo.go", Branches: []string{"main"}, Content: []byte("common foo-main-v2")}
611
612 fooAtMainAndRelease = zoekt.Document{Name: "foo.go", Branches: []string{"main", "release"}, Content: []byte("common foo-main-and-release")}
github.com/sourcegraph/zoektmatchtree_test.go 8 matches | Go | №8
166
}{
167 {query: "^foo", skip: false},
168 {query: "foo", skip: true},
169 {query: "thread|needle|haystack", skip: true},
202
func TestWordSearchSkipRegexpTree(t *testing.T) {
203 qStr := "\\bfoo\\b case:yes"
204 q, err := query.Parse(qStr)
github.com/sourcegraph/zoektjson/json_test.go 1 match | Go | №9
github.com/sourcegraph/zoektbuild/ctags_test.go 5 matches | Go | №10
26
func TestTagsToSections(t *testing.T) {
27 c := []byte("package foo\nfunc bar(j int) {}\n//bla")
28 // ----------01234567890 1234567890123456789 012345
47
func TestTagsToSectionsMultiple(t *testing.T) {
48 c := []byte("class Foo { int x; int b; }")
49 // ----------012345678901234567890123456
github.com/sourcegraph/zoektquery/query_test.go 8 matches | Go | №11
89
func TestMap(t *testing.T) {
90 in := NewAnd(&Substring{Pattern: "bla"}, &Not{&Repo{Regexp: regexp.MustCompile("foo")}})
91 out := NewAnd(&Substring{Pattern: "bla"}, &Not{&Const{false}})