The referenced doc indicates that the
> These can be used anywhere within the expression, e.g.
> (?i)apple(?-i) Pie - matches "ApPLe Pie", but not "ApPLe pIe"
If I place the (?s) at end of pattern I get the failure shown below.
Assertion failure message : Bad test configuration
org.apache.oro.tex
gt; >
> > > 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
> >
ut 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
> &
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 us
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
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 fai
http://jakarta.apache.org/jmeter/usermanual/regular_expressions.html#line_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,
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
--
8 matches
Mail list logo