add global q for regex