Author: sebb
Date: Wed Dec  1 12:29:51 2010
New Revision: 1040979

URL: http://svn.apache.org/viewvc?rev=1040979&view=rev
Log:
Document ORO extended REs

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

Modified: jakarta/jmeter/trunk/xdocs/usermanual/regular_expressions.xml
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/regular_expressions.xml?rev=1040979&r1=1040978&r2=1040979&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/regular_expressions.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/regular_expressions.xml Wed Dec  1 
12:29:51 2010
@@ -187,6 +187,25 @@ Here is a list of the meta characters an
 </ul>
 <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>
+
+<p>
+The following Perl5 extended regular expressions are supported by ORO.
+
+<dl>
+<dt>(?#text)</dt>
+<dd>An embedded comment causing text to be ignored.</dd>
+<dt>(?:regexp)</dt>
+<dd>Groups things like "()" but doesn't cause the group match to be saved.</dd>
+<dt>(?=regexp)</dt>
+<dd>A zero-width positive lookahead assertion. For example, \w+(?=\s) matches 
a word followed by whitespace, without including whitespace in the 
MatchResult.</dd>
+<dt>(?!regexp)</dt>
+<dd>A zero-width negative lookahead assertion. For example foo(?!bar) matches 
any occurrence of "foo" that isn't followed by "bar". Remember that this is a 
zero-width assertion, which means that a(?!b)d will match ad because a is 
followed by a character that is not b (the d) and a d follows the zero-width 
assertion.</dd>
+<dt>(?imsx)</dt>
+<dd>One or more embedded pattern-match modifiers. i enables case 
insensitivity, m enables multiline treatment of the input, s enables single 
line treatment of the input, and x enables extended whitespace comments.</dd>
+</dl>
+<b>Note that <code>(?&lt;=regexp)</code> - lookbehind - is not supported.</b>
+</p>
+
 </subsection>
 
 <subsection name="&sect-num;.5 Placement of modifiers" anchor="placement">



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to