Thanx the (?s) did exactly what I needed.

So (?s)ATTENDEE;(.+?).com worked perfect!

Cheers again...

R


From: sebb <[EMAIL PROTECTED]>
Reply-To: "JMeter Users List" <[email protected]>
To: "JMeter Users List" <[email protected]>
Subject: Re: regexp . ignore newline
Date: Wed, 4 Oct 2006 13:56:37 +0100

You cannot ignore new-lines; all you can do is set the single-line
modifier (?s) which allows . to match new-line. However, any new-lines
that are matched will be included in the matched data.

See:

http://jakarta.apache.org/jmeter/usermanual/regular_expressions.html

If you could give a concrete example of the data you are getting, and
what you want to extract, perhaps we could give more explicit help.

On 30/09/06, R R <[EMAIL PROTECTED]> wrote:
Hi,

Is there a way of getting the regexp in Jmeter to make the . ignore new
lines?

I am getting a string that should be one line but the server is breaking it
up into chunks.

I can get it working by using:

ATTENDEE;(.*\s.*\s.*\s.*\s)com

but this means I need to get more lines than I need and then clean it up in
a bean shell afterwards. If I could make the . ignore new lines then the
following should work.. I think..

ATTENDEE;(.+)com

Thanx for any help on this...

R

_________________________________________________________________
Download the new Windows Live Toolbar, including Desktop search!
http://toolbar.live.com/?mkt=en-gb


---------------------------------------------------------------------
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]


_________________________________________________________________
Windows LiveĀ™ Messenger has arrived. Click here to download it for free! http://imagine-msn.com/messenger/launch80/?locale=en-gb


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

Reply via email to