sebb-2-2 wrote:
> 
> On 04/11/2008, l_u_c_f_e_r_13 <[EMAIL PROTECTED]> wrote:
>>
>>  Hi.
>>
>>  Could somebody help me get random match from (it is two rows)
>>  <div id="articles_dropmenu" class="dropmenudiv">
>>  "Success Skills  "  /relationships_articles.html">Love &amp;
>> Relationships  "  /healthfitness_articles.html">Health &amp; Fitness  " 
>> /finances_articles.html">Money &amp; Careers  /mentalhealth_articles.html
>>  Mental Health  "Spirituality  "  /dietnutrition_articles.html">Lifestyle
>> <hr />
>>
>>  RegExp is following
>>  RefName: URL
>>  RegExp: (?m)<div id="articles_dropmenu"
>>  class="dropmenudiv">.*?\n.*?href="(.*?)">
>>  Template: $1$
>>  Match No: 0
>>  Def: -1
>>
>>  This always get first match ((, and I need get different URLs, not
>> always
>>  the same.
> 
> Try setting Match No: to -1; use the Debug Sampler to check that the
> RE really does match more than 1 entry.
> 
> Or just try Match No: 2.
> 
>>  TIA
>>
>>
>>
>>  --
>>  View this message in context:
>> http://www.nabble.com/Random-match-for-RegExp-tp20324679p20324679.html
>>  Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>>  ---------------------------------------------------------------------
>>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>>  For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

That's the point - there is no match #2 or #3 etc. because of multiply
lines. So if I set
RegExp: href="(.*?)">
then extractor will find all matches for this pattern. But in case of
multy-line Regexp it doesn't work. So I ask for help with RegExp because my
RegExp depends on first row and I can't omit it.

-- 
View this message in context: 
http://www.nabble.com/Random-match-for-RegExp-tp20324679p20327587.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to