[jboss-svn-commits] JBL Code SVN: r14922 - labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Sep 7 00:02:27 EDT 2007


Author: michael.neale at jboss.com
Date: 2007-09-07 00:02:27 -0400 (Fri, 07 Sep 2007)
New Revision: 14922

Modified:
   labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language/Section-Rule.xml
Log:
JBRULES-1175

Modified: labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language/Section-Rule.xml
===================================================================
--- labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language/Section-Rule.xml	2007-09-07 03:51:38 UTC (rev 14921)
+++ labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Language/Section-Rule.xml	2007-09-07 04:02:27 UTC (rev 14922)
@@ -765,8 +765,25 @@
                 <programlisting>CheeseCounter( cheese not memberof $matureCheeses )</programlisting>
               </example>
             </simplesect>
+
+            <simplesect>
+              <title>soundslike</title>
+
+              <para><literal>Similar to 'matches', but checks if a word has almost the same sound as the given value. Uses the 'Soundex' algorithm (http://en.wikipedia.org/wiki/Soundex)</literal></para>
+
+              <example>
+                <title>Text with soundslike (Sounds Like)</title>
+
+                <programlisting>Cheese( name soundslike 'foobar' )</programlisting>
+		<para>This will match a cheese with a name of "fubar"</para>
+              </example>
+            </simplesect>
+
           </section>
 
+
+          
+
           <section>
             <title>Literal Restrictions</title>
 




More information about the jboss-svn-commits mailing list