Use --perl-regexp instead of --extended-regexp for code search
Since omnibus-gitlab#3516 (closed) we compile Git with USE_LIBPCRE2=YesPlease
. This could enable us to have a faster and more powerful code search (see https://github.com/git/git/commit/94da9193a6eb8f1085d611c04ff8bbb4f5ae1e0a) by using libpcre2 for code search.
Proposal
As @aearnfjordbkng explains in omnibus-gitlab#3516 (comment 73217318) we would just need to use --perl-regexp instead of --extended-regexp in https://gitlab.com/gitlab-org/gitaly/blob/c5a643aea441f165b46b40f4eda283d9dec59184/internal/service/repository/search_files.go#L30-41