It would be safer to use:

<def name=(.*?) />

i.e. make the expression non-greedy.

S.
>-----Original Message-----
>From: prabhu varma [mailto:[EMAIL PROTECTED]
>Sent: 27 January 2004 05:22
>To: JMeter Users List
>Subject: Re: Regular Expression Extractor?
>
>
>Hi  Ryo,
> 
>If You want to match the string "ghi" in your given example,  
>just give reg exp  as
><def name=(.*) />  Hope it helps you, otherwise could you more 
>elaborate your example. 
> 
>Thanks
>Prabhu
>
>Ryo Sode <[EMAIL PROTECTED]> wrote:
>Can someone help?
>
>I'm trying to extract a value from an HTTP response body and 
>use it towards
>my next HTTP sampler request. To be more specific, I am trying 
>to extract an
>attribute from a response XML document.
>
>Can someone show me the regular expression to do this? For 
>example, how do I
>extract "ghi" from the the following XML
>
>
>
>
>
>I realize it's a dumb question, but please help!!
>
>Ryo
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>---------------------------------
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free web site building tool. Try it!
>

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

Reply via email to