https://issues.apache.org/bugzilla/show_bug.cgi?id=46831


Sebb <s...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW




--- Comment #4 from Sebb <s...@apache.org>  2009-03-11 11:25:03 PST ---
Looks like the variable processing is messing with the '\$' in the string - if
you look carefully at the assertion error message you should see that the '\'
has been stripped from before the '$'.

If you change the non-variable version so it fails, you should see that the
'\$' is preserved.

This is obviously a bug.

One work-round is to replace '\$' with '.', but this will allow other
characters aprt from $.

Another is to replace it with '\\$' - however this will probably stop working
when the bug is fixed.

A third is to use two REs, one with the ${ID} part and another with the rest,
but this will not check the order in which the parts appear.

Or you put '\$' in a variable and use that.

By the way, there is no point in putting '(.*)' at the end of a contains check.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org

Reply via email to