Fix regexp patterns in site schema to also work in JavaScript regexp
Created by: eseliger
The /
needs to be escaped in JS regexp, and flags like (?i)
are not allowed. This change causes it to be case-sensitive, but it's the best I could come up with in a short amount of time.
Better case-insensitive, than broken for the release, I guess.
Closes https://github.com/sourcegraph/sourcegraph/issues/20205