added main func for python template
test pcre implementation for go template