I want to perform some text checking logic so that if a string is a valid
template toolkit template, I will $template->process but if it's not a valid
template and/or doesn't contain any template brackets I will skip the
template process.  Do you usually do this with just a regular expression
comparison or is there a template toolkit function that checks the validity
of the template.  It's mainly just for a small performance improvement
because the logic of the program doesn't always need to process the text if
it doesn't need to be replaced with any template values.

Thanks in advance for any help!!!
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to