You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by he...@apache.org on 2016/02/11 17:34:57 UTC

svn commit: r1729855 - /commons/proper/jexl/trunk/src/site/xdoc/reference/syntax.xml

Author: henrib
Date: Thu Feb 11 16:34:56 2016
New Revision: 1729855

URL: http://svn.apache.org/viewvc?rev=1729855&view=rev
Log:
JEXL:
Fix typos in doc wrt to {start,end}sWith operators (=^,=$)

Modified:
    commons/proper/jexl/trunk/src/site/xdoc/reference/syntax.xml

Modified: commons/proper/jexl/trunk/src/site/xdoc/reference/syntax.xml
URL: http://svn.apache.org/viewvc/commons/proper/jexl/trunk/src/site/xdoc/reference/syntax.xml?rev=1729855&r1=1729854&r2=1729855&view=diff
==============================================================================
--- commons/proper/jexl/trunk/src/site/xdoc/reference/syntax.xml (original)
+++ commons/proper/jexl/trunk/src/site/xdoc/reference/syntax.xml Thu Feb 11 16:34:56 2016
@@ -555,12 +555,11 @@
                         to behave has right-hand-size operands of this operator.
                     </td>
                 </tr>
-                <tr>
+                 <tr>
                     <td>Starts With<code>=^</code></td>
                     <td>
-                        The syntactically CSS3 inspired <code>=^</code> operator is a short-hand for the 'startsWith' method.
-                        For example,
-                        <code> "abcdef" ^= "abc" </code> returns <code>true</code>.
+                        The <code>=^</code> operator is a short-hand for the 'startsWith' method.
+                        For example, <code> "abcdef" =^ "abc" </code> returns <code>true</code>.
                         Note that through duck-typing, user classes exposing a public 'startsWith' method will allow their instances
                         to behave has left-hand-size operands of this operator.
                     </td>
@@ -569,23 +568,22 @@
                     <td>Not Starts With<code>!^</code></td>
                     <td>
                         This is the negation of the 'starts with' operator.
-                        <code>a ^! "abc"</code> is equivalent to <code>!(a ^= "abc")</code>
+                        <code>a !^ "abc"</code> is equivalent to <code>!(a =^ "abc")</code>
                     </td>
                 </tr>
                 <tr>
                     <td>Ends With<code>=$</code></td>
-                    <td>The syntactically CSS3 inspired <code>=$</code> operator is a short-hand for the 'endsWith' method.
-                        For example,
-                        <code> "abcdef" $= "def" </code> returns <code>true</code>.
+                    <td>The <code>=$</code> operator is a short-hand for the 'endsWith' method.
+                        For example, <code> "abcdef" =$ "def" </code> returns <code>true</code>.
                         Note that through duck-typing, user classes exposing an 'endsWith' method will allow their instances
                         to behave has left-hand-size operands of this operator.
                     </td>
                 </tr>
                 <tr>
-                    <td>Not Ends With<code>!^</code></td>
+                    <td>Not Ends With<code>!$</code></td>
                     <td>
                         This is the negation of the 'ends with' operator.
-                        <code>a $! "abc"</code> is equivalent to <code>!(a $= "abc")</code>
+                        <code>a !$ "abc"</code> is equivalent to <code>!(a =$ "abc")</code>
                     </td>
                 </tr>
                 <tr>