Josh Rosenbaum wrote:

> Looks like the replace filter doesn't use the new replace vmethod code. If 
> you use the .replace() vmethod it should work ok.
> 
> ie:
> [% Catalyst.localize('You have [quant,_1,new message].',
>                       new_message_count).replace('(\d+)', '<span 
> class="highlight">$1</span>') %]

Perfect, thanks!

Ronald

_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to