Sorry, used the wrong word earlier: I should have said
escape the ","
not
quote the ","
===
Just wondering whether it would be easy to only recognise "$" as a special
character when followed by "{" ?
This would mean fewer escapes would be needed, but might not be easy to do.
If backwards compatibility is not a requirement, would it be worth replacing
the ${} syntax with something that rarely occurs in regular expressions? (to
reduce the number of escapes needed)
For example, if "$" (dollar) was replaced by "~" (tilde), this would help,
no?
And {} could be replaced by <> - yes they appear in HTML, but how often does
one want to match on them?
Just a few thoughts.
Sebastian
-----Original Message-----
From: Mike Stover [mailto:[EMAIL PROTECTED]
Sent: 11 March 2003 21:32
To: JMeter Developers List
Subject: RE: Changes in function
I agree with you on everything except that encoding the the dollar signs as
you do seems
inconsistent with the encoding of commas. The $'s should only be escaped if
they are meant
as a literal part of the template (the way the comma is escaped). That
would be more
consistent, I think.
-Mike
[snip]
_________________________________________________________
This email is confidential and intended solely for the use of the
individual to whom it is addressed. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
SchlumbergerSema.
If you are not the intended recipient, be advised that you have received
this email in error and that any use, dissemination, forwarding, printing,
or copying of this email is strictly prohibited.
If you have received this email in error please notify the
SchlumbergerSema Helpdesk by telephone on +44 (0) 121 627 5600.
_________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]