make the replace regex pattern in templates let-able