tags:

views:

10

answers:

0

Hi -

What would be the most efficient way to check if a string contains any Freemarker constructs? e.g. Directives, macros etc. Essentially what is a good way to implement 'boolean isFreemarkerTemplate(String templateString)', so that I can decide whether to process it or not...?

Thanks.