On 12/15/05, Josh Rosenbaum <[EMAIL PROTECTED]> wrote:
> Are you asking a question? :)
>
> You can also use this probably: a.match("(?i)^$b\$")
> (I didn't test.)I'm pretty sure that tt2 doesn't do variable interpolation in match(). The question that I'm stuck with is why my macro works when the test is in the same template where it's defined, and doesn't work from another template. Probably something stupid I'm doing, but just wondered if there was anything obvious... I have all my macros collected in macros.tt, and most work just fine from anywhere. -- ========================== 2People Blog: http://2-people.blogspot.com/ 2People site: http://www.2people.org _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
