jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1412530 - in /jmeter/trunk/xdocs/usermanual: functions.xml regular_expressions.xml
Date Thu, 22 Nov 2012 12:45:08 GMT
Author: pmouawad
Date: Thu Nov 22 12:45:06 2012
New Revision: 1412530

URL: http://svn.apache.org/viewvc?rev=1412530&view=rev
Log:
Bug 54189 - Add a function to quote ORO regexp meta characters
complete docs
Bugzilla Id: 54189

Modified:
    jmeter/trunk/xdocs/usermanual/functions.xml
    jmeter/trunk/xdocs/usermanual/regular_expressions.xml

Modified: jmeter/trunk/xdocs/usermanual/functions.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/usermanual/functions.xml?rev=1412530&r1=1412529&r2=1412530&view=diff
==============================================================================
--- jmeter/trunk/xdocs/usermanual/functions.xml (original)
+++ jmeter/trunk/xdocs/usermanual/functions.xml Thu Nov 22 12:45:06 2012
@@ -1196,7 +1196,7 @@ A reference name - refName - for reusing
 </description>
 </component>
 
-<component index="&sect-num;.5.29" name="__escapeHtml">
+<component index="&sect-num;.5.29" name="__escapeOroRegexpChars">
 <description>
     <p>
 Function which escapes the ORO Regexp meta characters, it is the equivalent of \Q \E in Java
Regexp Engine.

Modified: jmeter/trunk/xdocs/usermanual/regular_expressions.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/usermanual/regular_expressions.xml?rev=1412530&r1=1412529&r2=1412530&view=diff
==============================================================================
--- jmeter/trunk/xdocs/usermanual/regular_expressions.xml (original)
+++ jmeter/trunk/xdocs/usermanual/regular_expressions.xml Thu Nov 22 12:45:06 2012
@@ -185,9 +185,12 @@ Here is a list of the meta characters an
 <li>| - alternatives</li>
 <li>^ $ - start and end of string or line</li>
 </ul>
+<note>
 <p>Please note that ORO does not support the \Q and \E meta-characters.
-[In other RE engines, these can be used to quote a portion of an RE so that the meta-characters
stand for themselves.]</p>
-
+[In other RE engines, these can be used to quote a portion of an RE so that the meta-characters
stand for themselves.]
+You can use function  to do the equivalent, see <a href="functions.html#__escapeOroRegexpChars">${__escapeOroRegexpChars(valueToEscape)}</a>.
+</p>
+</note>
 <p>
 The following Perl5 extended regular expressions are supported by ORO.
 



Mime
View raw message