URL query patternType:regex not respected
Created by: chrismwendt
- Visit https://sourcegraph.com/search?q=case%3Ayes+context%3Aglobal+type%3Asymbol+repo%3Agithub.com%2Fsourcegraph%2Fsourcegraph+file%3Ainternal%2Fsearch%2Fresult+%5Eoffset%24+patterntype%3Aregexp
- Notice that regexp is not turned on. I would expect it to be on.
If you click on the regexp icon in the search bar, the URL changes to https://sourcegraph.com/search?q=context:global+type:symbol+repo:github.com/sourcegraph/sourcegraph+file:internal/search/result+%5Eoffset%24&patternType=regexp&case=yes - notice the &patternType=regexp
as a separate URL param.