>>>>> "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.

-- 
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!

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

Reply via email to