At 2:08 PM -0700 6/5/02, Randal L. Schwartz wrote:
> >>>>> "Eric" == Eric Goldhagen <[EMAIL PROTECTED]> writes:
>
>Eric> Randal,
>Eric> thanks, but it still does not work for me.
>
>Eric> I tried
>Eric> [% matches = fullstory.match("(\\w+ $s_word \\w+)") %]
>
>Eric> and
>
>Eric> [% matches = fullstory.match("(\\w+$s_word\\w+)") %]
>
>Eric> any other ideas?
>
> $ tpage
> [%
> fullstory = "kermit the frog";
> s_word = "the";
> matches = fullstory.match("(\\w+ $s_word \\w+)");
> FOREACH m = matches;
> "one match is <"; m; ">\n";
> END;
> %]
> ^D
> one match is <kermit the frog>
> $
>
>Looks good to me. You have only one paren set, so you get
>back only one match.
A quick re-install of TT and all is well.
THANKS for the help.
--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