ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r550674 - /ant/sandbox/antlibs/props/trunk/docs/stringops.html
Date Tue, 26 Jun 2007 03:58:09 GMT
Author: mbenson
Date: Mon Jun 25 20:58:08 2007
New Revision: 550674

URL: http://svn.apache.org/viewvc?view=rev&rev=550674
Log:
refine stringops doc

Modified:
    ant/sandbox/antlibs/props/trunk/docs/stringops.html

Modified: ant/sandbox/antlibs/props/trunk/docs/stringops.html
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/props/trunk/docs/stringops.html?view=diff&rev=550674&r1=550673&r2=550674
==============================================================================
--- ant/sandbox/antlibs/props/trunk/docs/stringops.html (original)
+++ ant/sandbox/antlibs/props/trunk/docs/stringops.html Mon Jun 25 20:58:08 2007
@@ -77,13 +77,13 @@
       ${x%%/*} <!-- yields foo -->
     </pre>
 
-    <p>Delete extension:</p>
+    <p>Delete extension (using delete shortest trailing match):</p>
     <pre>
       &lt;!-- given ${x}=foo/bar/baz.ext --&gt;
-      ${x%%.*} &lt;!-- yields foo/bar/baz --&gt;
+      ${x%.*} &lt;!-- yields foo/bar/baz --&gt;
     </pre>
 
-    <p>Extract extension:</p>
+    <p>Extract extension (using delete longest leading match):</p>
     <pre>
       &lt;!-- given ${x}=foo/bar/baz.ext --&gt;
       ${x##*.} &lt;!-- yields .ext --&gt;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message