Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 43992 invoked from network); 18 Feb 2010 02:18:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Feb 2010 02:18:25 -0000 Received: (qmail 1387 invoked by uid 500); 18 Feb 2010 02:18:24 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 1331 invoked by uid 500); 18 Feb 2010 02:18:24 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 1321 invoked by uid 99); 18 Feb 2010 02:18:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 02:18:24 +0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2010 02:18:16 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Nhvxj-0005G9-Lu for jmeter-user@jakarta.apache.org; Wed, 17 Feb 2010 18:17:55 -0800 Message-ID: <27633540.post@talk.nabble.com> Date: Wed, 17 Feb 2010 18:17:55 -0800 (PST) From: mai_garduce To: jmeter-user@jakarta.apache.org Subject: Error in the reg expression MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mhyra80@yahoo.com 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=(.+?)&A=(.+?)'\)' 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 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