sebb        2004/10/17 10:24:27

  Modified:    xdocs/usermanual Tag: rel-2_0 component_reference.xml
  Log:
  More detail on regexes
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.87.2.18 +9 -4      jakarta-jmeter/xdocs/usermanual/component_reference.xml
  
  Index: component_reference.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/xdocs/usermanual/component_reference.xml,v
  retrieving revision 1.87.2.17
  retrieving revision 1.87.2.18
  diff -u -r1.87.2.17 -r1.87.2.18
  --- component_reference.xml   13 Oct 2004 22:08:50 -0000      1.87.2.17
  +++ component_reference.xml   17 Oct 2004 17:24:27 -0000      1.87.2.18
  @@ -1401,9 +1401,11 @@
        The pattern strings are Perl5-style regular expressions. You can also choose 
whether the strings will be expected
   to <b>match</b> the entire response, or if the response is only expected to 
<b>contain</b> the
   pattern. You can attach multiple assertions to any controller for additional 
flexibility.</p>
  -<p>Note that the pattern string should not include the enclosing brackets, 
  +<p>Note that the pattern string should not include the enclosing delimiters, 
        i.e. use <b>Price: (\d+)</b> not <b>/Price: (\d+)/</b>.
        By default, the pattern is in multi-line mode, which means that the "." 
meta-character does not match newline.
  +    In multi-line mode, "^" and "$" match the start or end of any line anywhere 
within the string 
  +    - not just the start and end of the entire string.
        Case is also significant. To override these settings, one can use the extended 
regular expression syntax.
        For example:
   </p>
  @@ -1411,7 +1413,10 @@
        (?i) - ignore case
        (?s) - treat target as single line, i.e. "." matches new-line
        (?is) - both the above
  +    These can be used anywhere within the expression, e.g.
  +    (?i)apple(?-i) Pie - matches "ApPLe Pie", but not "ApPLe pIe"
   </pre>
  +
   </description>
   <properties>
           <property name="Name" required="">Descriptive name for this element that is 
shown in the tree.</property>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to