I am having a bit of a hard time figuring this one out.

   [% matches = fullstory.match('(\w+ word \w+)') %]


This works fine. But, how do I get a variable such as $s_word or 
$form.query in the middle of the pattern?

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

and

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


don't work....

I am rather new to this stuff, so any help or pointers would be appreciated.

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