You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by sb...@apache.org on 2002/08/30 14:27:29 UTC

cvs commit: jakarta-ant/docs/manual/OptionalTasks replaceregexp.html

sbailliez    2002/08/30 05:27:29

  Modified:    docs/manual/OptionalTasks Tag: ANT_15_BRANCH
                        replaceregexp.html
  Log:
  Fixed attributes in the examples.
  PR: 12169
  Reported by: bjarnij-apachebug@bthj.is (Bjarni ��r J�nsson)
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.8.2.2   +2 -2      jakarta-ant/docs/manual/OptionalTasks/replaceregexp.html
  
  Index: replaceregexp.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/OptionalTasks/replaceregexp.html,v
  retrieving revision 1.8.2.1
  retrieving revision 1.8.2.2
  diff -u -r1.8.2.1 -r1.8.2.2
  --- replaceregexp.html	23 Jun 2002 19:47:34 -0000	1.8.2.1
  +++ replaceregexp.html	30 Aug 2002 12:27:29 -0000	1.8.2.2
  @@ -105,14 +105,14 @@
      the substitution pattern.  You can use this element to refer to a previously
      defined substitution pattern datatype instance.</p>
   <blockquote>
  -     &lt;substitution id="id" pattern="expression" /&gt;<br />
  +     &lt;substitution id="id" expression="pattern" /&gt;<br />
        &lt;substitution refid="id" /&gt;
   </blockquote>
   <h3>Examples</h3>
   <blockquote>
     <pre>
   &lt;replaceregexp byline=&quot;true&quot;&gt;
  -  &lt;regexp expression=&quot;OldProperty=(.*)&quot; /&gt;
  +  &lt;regexp pattern=&quot;OldProperty=(.*)&quot; /&gt;
     &lt;substitution expression=&quot;NewProperty=\1&quot; /&gt;
     &lt;fileset dir=&quot;.&quot;&gt;
      &lt;includes=&quot;*.properties&quot; /&gt;
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>