Add support for regex prefix