Randal,

thanks, but it still does not work for me.

I tried
[% matches = fullstory.match("(\\w+ $s_word \\w+)") %]

and

[% matches = fullstory.match("(\\w+$s_word\\w+)") %]

any other ideas?


And while I am here, I have one more template-toolkit question.

I am running a site using slashcode. I can't figure out how to set 
EVAL_PERL so that I can use [% PERL %] in my templates. I tried to 
follow the docs, but it seems that slash interfaces to TT oddly.


--Eric

> >>>>> "Eric" == Eric Goldhagen <[EMAIL PROTECTED]> writes:
>
>Eric>    [% matches = fullstory.match('(\w+ \"$s_word\" \w+)') %]
>
>[% matches = fullstory.match("(\\w+ $s_word \\w+)") %]
>
>(I *think* -- I don't like those whitespaces in there... so you
>might need to remove them.)
>
>--
>Randal L. Schwartz

------------
ABC No Rio http://www.abcnorio.org
The Interactivist Network http://www.interactivist.net
Autonomedia http://www.autonomedia.org
Nomad Media Lab http://www.nomadlab.com


Reply via email to