This might help...

http://www.regular-expressions.info/dot.html

Jmeter uses perl5 type regex I believe..  This guide talks about single
line mode and the differences in what matches what, etc.

-Steve 

-----Original Message-----
From: Michael Giroux [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 09, 2008 8:51 AM
To: JMeter Users List
Subject: Re: How to specify single line qualifier (?s) with a response
assertion pattern?

In fact, I posted my question *after* reading the user manual and trying
to put the specifier in my pattern without success.  The document could
use an example.

My pattern is
some text.*some more text

This fails because .* does not match new lines.

I tried
some text.*(?s)some more text

This fails aparently because the single line specifier is in the wrong
place.

Can you give an example of how to adjust my pattern to include this
specifier?

THanks
Michael

On Thu, May 8, 2008 at 3:31 PM, sebb <[EMAIL PROTECTED]> wrote:
> http://jakarta.apache.org/jmeter/usermanual/regular_expressions.html#l
> ine_mode
>
> On 08/05/2008, Michael Giroux <[EMAIL PROTECTED]> wrote:
>> my current pattern is "some text.*heading +value"  (without the 
>> quotes)
>>
>>  I wish the .* to match new-lines, so I have to specify the single 
>> line  modifier, but I'm not able to figure out how to do that
exactly.
>>
>>  Thanks
>>  Michael Giroux
>>
>>  
>> ---------------------------------------------------------------------
>>  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]
>
>

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