JMeter __escapeOroRegexpChars function reference: syntax, parameters, and practical examples for parameterizing test plans with dynamic values.
Also documented in context in the full Functions and Variables reference.
Function which escapes the ORO Regexp meta characters, it is the equivalent of \Q \E in Java Regexp Engine.
For example,
\${__escapeOroRegexpChars([^"].+?,)}returns:
\[\^\"\]\.\+\?.
Uses Perl5Compiler#quotemeta(String) from ORO.
| Name | Required | Description |
|---|---|---|
| String to escape | Yes | The string to be escaped. |
| Variable Name | No | A reference name - refName - for reusing the value created by this function. Stored values are of the form \${refName}. |