Using miniquery and regExp tpl