You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ori Marco <or...@praxell.com> on 2007/12/17 14:19:31 UTC

Regular expression issue

Hi

 

I trying to extract data from DB with any kind of characters and using
the expression: [^\t\n]*

I check it with http://jakarta.apache.org/oro/demo.html and it worked
fine

but in JMETER I failed to extract the data

 

for example :
Name    Address               DOB

AB          New York            1980/01/01

 

Should return: 

Match 1: Name

Match 2: Address

Match 3: DOB

Match 4: AB

Match 5: New York

Match 6: 1980/01/01

 

Thanks

 

Ori Marko 
Quality Assurance Engineer 
Praxell Inc.
Mobile: 0524-455-177
Office:03-6126060 Ext 612
Fax: 03-6126066
http://www.praxell.com <http://www.praxell.com> 


RE: Regular expression issue

Posted by Ori Marco <or...@praxell.com>.
Sorry ... forgot to wrap with ()
([^\t\n]* ) instead of [^\t\n]*

Ori Marko 
Quality Assurance Engineer 
Praxell Inc.
Mobile: 0524-455-177
Office:03-6126060 Ext 612
Fax: 03-6126066
http://www.praxell.com
-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: Monday, December 17, 2007 3:48 PM
To: JMeter Users List
Subject: Re: Regular expression issue

Works for me using $0$ as the template.

What template did you use?

On 17/12/2007, Ori Marco <or...@praxell.com> wrote:
> Hi
>
>
>
> I trying to extract data from DB with any kind of characters and using
> the expression: [^\t\n]*
>
> I check it with http://jakarta.apache.org/oro/demo.html and it worked
> fine
>
> but in JMETER I failed to extract the data
>
>
>
> for example :
> Name    Address               DOB
>
> AB          New York            1980/01/01
>
>
>
> Should return:
>
> Match 1: Name
>
> Match 2: Address
>
> Match 3: DOB
>
> Match 4: AB
>
> Match 5: New York
>
> Match 6: 1980/01/01
>
>
>
> Thanks
>
>
>
> Ori Marko
> Quality Assurance Engineer
> Praxell Inc.
> Mobile: 0524-455-177
> Office:03-6126060 Ext 612
> Fax: 03-6126066
> http://www.praxell.com <http://www.praxell.com>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Regular expression issue

Posted by sebb <se...@gmail.com>.
Works for me using $0$ as the template.

What template did you use?

On 17/12/2007, Ori Marco <or...@praxell.com> wrote:
> Hi
>
>
>
> I trying to extract data from DB with any kind of characters and using
> the expression: [^\t\n]*
>
> I check it with http://jakarta.apache.org/oro/demo.html and it worked
> fine
>
> but in JMETER I failed to extract the data
>
>
>
> for example :
> Name    Address               DOB
>
> AB          New York            1980/01/01
>
>
>
> Should return:
>
> Match 1: Name
>
> Match 2: Address
>
> Match 3: DOB
>
> Match 4: AB
>
> Match 5: New York
>
> Match 6: 1980/01/01
>
>
>
> Thanks
>
>
>
> Ori Marko
> Quality Assurance Engineer
> Praxell Inc.
> Mobile: 0524-455-177
> Office:03-6126060 Ext 612
> Fax: 03-6126066
> http://www.praxell.com <http://www.praxell.com>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org