Perl has the following feature:

\Q          quote (disable) pattern metacharacters till \E

ORO may support this too - try enclosing the entire pattern in \Q and \E.

S.
On 21/09/05, Michael Stover <[EMAIL PROTECTED]> wrote:
> Unfortunately, at this time, there is no function or other tool to quote
> all the meta characters of a regular expression.  You'll have to escape
> all the special characters manually.
>
> -Mike
>
> On Wed, 2005-09-21 at 09:46 +0200, Noureddine BEKRAR wrote:
> > Hi all,
> >
> > Like you know, in the "Response assertion", the "patterns to test" are 
> > sensitive to special caracters like "?",  this kind of characters are 
> > considered like a part of regular expression.
> >
> > My problem is that i have many spécial characters in my text to control, 
> > and i want to know if it's possible to say to JMeter to don't consider my 
> > pattern to test as a regular expression but as a simple text.
> >
> > Thank you.
> >
> > Noureddine
>
>
> ---------------------------------------------------------------------
> 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