Regular Expression

A regular expression (sometimes abbreviated to "regex") is a way for a computer user or programmer to express how a computer program should look for a specified pattern in text and then what the program is to do when each pattern match is found.

Resource

The concept of resource is very much associated with a file containing a Jtwig template. However it can also be a String representing the template itself. Essencially, a resource is a template container and can take various forms.