dcs icon indicating copy to clipboard operation
dcs copied to clipboard

Debian Code Search (codesearch.debian.net) is a search engine that searches through all the 130 GB of open source software that is included in Debian. Supports regular expressions!

Results 39 dcs issues
Sort by recently updated
recently updated
newest added

According to my reading of https://github.com/google/re2/blob/main/doc/syntax.txt, ```((?sm).*fprintf.*fclose.*)``` should allow for multiline matches to be treated as a single line to match printf on one line, fclose on another, but this...

There are thousands of files in Debian source packages that are in formats that contain other files, for example compressed files (*.gz *.bz2 *.xz etc), tarballs (*.tar *.tar.* *.t*z), zip...

enhancement

GitHub recently introduced precise code navigation: https://github.blog/2021-12-09-introducing-stack-graphs/ The underlying stack-graph is open source: https://github.com/github/stack-graphs/ Their architecture sounds suitable for DCS (incremental indexing without dependencies between repositories, no setup required, etc.)...

enhancement

Sometimes when I'm looking at the results I can see that the results for a package aren't useful for what I'm searching for. Currently I have to click through each...

Pagination links drop to the first page for example for [this query](https://codesearch.debian.net/search?q=PL_FILES+path%3AMakefile.PL&literal=1&perpkg=1). How to reproduce: search something, and then click on pagination links. URLs are updated to reflect the page...

Providing some meta-information or stats about the codebase that dcs knows about, beyond "all 130 GiB of source code within Debian" would be very useful! For example a search for...

In first tests, https://github.com/google/zoekt is between 2-10x faster than codesearch and degrades much more gracefully for pathological queries (queries which have many potential matches). For 1.4G of source code, zoekt...

This should probably come after we have an answer to issue #68 See https://01.org/hyperscan/blogs/jpviiret/2017/regex-set-scanning-hyperscan-and-re2set for more details