lint: fix regexp lib
Created by: rvantonder
looks like https://github.com/sourcegraph/sourcegraph/pull/30278 was merged without rebase and is causing a lint error
One of my PRs off main is failing, https://buildkite.com/sourcegraph/sourcegraph/builds/131463
Test plan
it's a lint