> > ${__regexFunction("[hH]ello\, [wW]orld",$1$,1,,,)}
> > 
> > -Mike
> > 
> 
> <aside>
> It would be nice if it were not necessary to quote the "," in the text
> string above.

I'm not sure what you're referring to.  The comma isn't quoted, it's escaped.  The 
quotes around hello, world are just part of the string that makes the regular 
expression.  They mean nothing to JMeter.

> Also, what about existing scripts?
> Will these not have to be changed if the syntax changes?
> This could cause a lot of grief for us...!

I have sympathy, but not too much. After all, the current way doesn't work.  The 
new way will.  There are also other changes that will likely be made that will make 
1.9 have a hard time loading 1.8.1 test scripts.  A translation tool likely have to be 
provided.

> 
> How about allowing the user to change the list of special characters for a
> particular string?
> This could be done by supplying an extra field at design time (saved with
> the test script, and defaulting to the ones used now).

I don't know how I feel about that.  It sounds a little complicated for users.

--
Michael Stover
[EMAIL PROTECTED]
Yahoo IM: mstover_ya
ICQ: 152975688
AIM: mstover777

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to