add cxRegex(base pcre) and add cxTemplate element