Skip to content

db: Handle .* in repository regex search

Warren Gifford requested to merge search/repo-patterns into master

Created by: keegancsmith

This fixes an issue where we ignored .*, leading to incorrect patterns in some cases. There are likely more cases where we incorrectly do not fallback to regex. However, that should be solved in another PR.

Test plan: unit tests

Fixes https://github.com/sourcegraph/sourcegraph/issues/4166

Merge request reports

Loading