On Mon, 2005-08-15 at 15:48 -0500, David Nicol wrote: > If the target regex was set to something like > > use hypothetical_substituting_template_system > template_vars_hashref => \(our %TemplateVars), > target_regex => qr{<font color="FF0000">\s*([^<]+?)\s*</font>}; > > for example, the designer would be able to specify template names in by > coloring the text red, without viewing any source code.
You won't get far with that before you need to use a variable in a place where the font tags would violate XHTML. Petal is a much more complete solution. - Perrin