jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mai_garduce <mhyr...@yahoo.com>
Subject Error in the reg expression
Date Thu, 18 Feb 2010 02:17:55 GMT

thank you so much! i used the \s* and your suggestion worked too!

i am encountering another issue with my expression maybe you can help me
out: 


Reference name: newUserid
Regular EXpression :N=(.+?)&amp;A=(.+?)&#039;\)'
onclick='javascript:sink(event\)' \style=' text-decoration:none;'>
${newUserid_g1}&A=${newUserid_g2}

the reg exp did not work :(



sebb-2-2 wrote:
> 
> On 16/02/2010, mai_garduce <mhyra80@yahoo.com> wrote:
>>
>>  this regex works now but i want to rewrite this in a better way:
>>
>>  if/s(keycode/s==/s13/s&&/sinput.type/s!=/s"textarea")/s{
>> 
>> /s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/s/sjsSubmit\('http://www.test.com/test/JopletManager?(.+?)'%5c)
> 
> /s is not a space.
> 
> If you want to match multiple spaces, use
> 
> \s+
> 
> Or, for an exact number:
> 
> \s{12}
> 
> Min/Max
> 
> \s{2,5}
> 
>> --
>>  View this message in context:
>> http://old.nabble.com/how-to-manage-spaces-in-the-reg-expression-tp27605565p27605565.html
>>  Sent from the JMeter - User mailing list archive at Nabble.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
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/how-to-manage-spaces-in-the-reg-expression-tp27605565p27633540.html
Sent from the JMeter - User mailing list archive at Nabble.com.


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


Mime
View raw message