--- "Randal L. Schwartz" <[email protected]>
wrote:

> >>>>> "James" == James L <[EMAIL PROTECTED]> writes:
> 
> James> oh?? my purpose of using \b is word boundary.
> 
> 
> James> i probably should use single quote there like
> 
> James> [% field | replace('\b${word}\b',>
> "<b>${word}</b>")
> James> %]
> 
> James> but 'word' won't interpolate.
> 
> No, you want \\b instead, just like I said.

argh, right. :^

btw, is this documentated in TT? I couldn't find it.

> 
> -- 
> Randal L. Schwartz - Stonehenge Consulting Services,
> Inc. - +1 503 777 0095
> <[email protected]>
> <URL:http://www.stonehenge.com/merlyn/>
> Perl/Unix/security consulting, Technical writing,
> Comedy, etc. etc.
> See PerlTraining.Stonehenge.com for onsite and
> open-enrollment Perl training!
> 

james.


 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to