Is there support for regular expressions in Tea?
No, there is no regex support in Tea. Return to top What is the easiest way to execute a template, but write the output to a file, to be used as static HTML. The Tea Template Language document has a section titled “Java Integration”. The SimpleTea example shows how to integrate with the Tea compiler and runtime. This example outputs to a String, but it can easily be adapted to write to files.