search: introduce standard patterntype
Created by: rvantonder
As in title. This is for supporting /.../
regex syntax alongside literal syntax, as per RFC 675, and any future expansion or divergent query syntax from literal
/regexp
. In time the hope is that we can remove the need for literal
or regexp
entirely, but we are keeping them for backwards compatibility right now.
Test plan
Unused, just scaffolding, no tests.