I would say it'd be ideal for the ForEach Controller to be upgraded to
know how to do exactly that - loop through a series of matches from a
regex extractor.
Until that's done though, I think you're out of luck.
-Mike
On Wed, 2005-03-16 at 08:56, Vladimir Tsygankov wrote:
> Our test script uses Regular Expression Extractor with the name
> "refName1".
> The main task of the script is to check correctness of all matches.
>
> It is possible to use the variables like ${refName1_g1}, ${refName1_g2},
> ${refName1_g3} etc. but it is not
> possible to use the variables like
> ${refName1_g${__counter(false,refC)}}. They are not calculated!
> So it is possible to run scripts like:
> ...
> Regexp Extractor <refName1>
> If <expression with 1-th match>
> If <expression with 2-th match>
> ...
> If <expression with i-th match>
> ...
>
> but impossible to use simple and very important constructions like:
> ...
> Regexp Extractor <refName1>
> Loop <for all matches>
> If <expression with i-th match>
> ...
> Maybe anybody knows how to resolve the problem?
>
> Thanks in advance,
> Vladimir
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
Michael Stover <[EMAIL PROTECTED]>
Apache Software Foundation
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]