Make note that $ symbol means string end in regular expressions.

Try this regexp:
        name="[^"]*screenId" value="([^"]*)"

 
С уважением,
Андрей Похилько

-----Original Message-----
From: Mike Barasch [mailto:[email protected]] 
Sent: Friday, February 19, 2010 5:24 PM
To: [email protected]
Subject: variable for Regular Expression

>From what I understand when you setup a Regular Expression Extractor you
need to setup a variable.  So I defined a User Paramater and added a
variable called screen.  Then in my code I reference this variable by
using ${screen}.  When I run my script it doesn't appear that my screen
variable is being set to anything.  Is there a way to tell if screen is
being set when I do my RE extraction?  Did I setup my variable correctly
or do I need to make screen= to something?

 

My RegEx is:

Ref Name: screen

Reg Exp: name="$$screenId" value="(.*?)"

Template: $1$

Match: 1

Default Value: failed

 

Thanks!

Mike

 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to