Skip to content

Search backend: use ChunkMatch for unindexed regex search

Created by: camdencheek

This completes the migration of searcher to use the more robust, multiline ChunkMatch result type. Specifically, it converts regex search to return []ChunkMatch instead of []LineMatch. Comments inline.

Test plan

Updated tests I expected to change manually and checked that they still passed. Running backend integration tests. Chunking logic is already tested. Added unit tests for locsToRanges.

Merge request reports

Loading