On Fri, Feb 17, 2012 at 4:09 AM, Chris Travers <chris.trav...@gmail.com>wrote:
> Hi all; > > What's the best way to handle regular expressions (replace filter) where > the text to be matched may include parenteses? > I think your question is not very clear. Do you have an example of what you're trying to accomplish? Here's a simple example using the replace filter with text that includes parentheses: [% 'abc(def)ghi' | replace('\(.*\)','[123]') %] Ronald
_______________________________________________ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates