That will only work in some cases.

S.
On 18/11/05, Bruno Charloup <[EMAIL PROTECTED]> wrote:
> Let template $1$, and try match 2
>
> -----Message d'origine-----
> De : Nop Lists [mailto:[EMAIL PROTECTED]
> Envoyé : vendredi 18 novembre 2005 17:20
> À : jmeter
> Objet : Strange behaviour of a regular expression
>
> Hello,
> I have a slight problem extracting a value from a http-resplonse...
> I need to extract the "value" field of one customer from a list of customers
> having the attribute "Kontoinhaber".
> A sample list (with white spaces eliminated) is posted below.
> Now my regular expression is
>
> (?s)(name=\"authPersonIdSeq\" value=\"([0-9]+)\".+?Kontoinhaber)
> I take template $2$ , match 1.
>
> Unfortunately I always get in my extractor the value of the first customer
> which sometimes has the attribute "Bevollmächtigter" and not "Kontoinhaber".
> Could anybody please advice what I am doing wrong?
> Thanks!
>
>
>
>
> <tr><td>
> <input type="checkbox" name="authPersonIdSeq" value="5985094000100"
> checked="checked">
> Andreas Miller; Bevollmächtigter<br>
> </td></tr>
> <tr>
> <td><img src="img/trans.gif" width="1" height="4" border="0" alt=""></td>
> </tr>
>
> <tr><td>
> <input type="checkbox" name="authPersonIdSeq" value="0813421000100"> Damian
> Bart; Bevollmächtigter<br> </td></tr> <tr> <td><img src="img/trans.gif"
> width="1" height="4" border="0" alt=""></td> </tr>
>
> <tr><td>
> <input type="checkbox" name="authPersonIdSeq" value="8670010001000"> Elias
> Anton; Kontoinhaber<br> </td></tr> <tr> <td><img src="img/trans.gif"
> width="1" height="4" border="0" alt=""></td> </tr>
>
> <tr><td>
> <input type="checkbox" name="authPersonIdSeq" value="0799894000100">
> Benedikt Press; Bevollmächtigter<br> </td></tr> <tr> <td><img
> src="img/trans.gif" width="1" height="4" border="0" alt=""></td> </tr>
>
> <tr><td>
> <input type="checkbox" name="authPersonIdSeq" value="6058654000100"> Dr.
> Parsad Mau; Bevollmächtigter<br> </td></tr> <tr>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to