export default function (query?: string): RegExp;