[alicebot-style] Problem with "*"

Francis Grenier alicebot-style@list.alicebot.org
Mon, 21 Nov 2005 14:03:04 -0500


------=_Part_189_21552475.1132599784884
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi, I would like to know if there's a possibility to know how many words
matched with a "*" in <pattern ... </pattern>?

Example:
<category>
<pattern>MY NAME IS * </pattern>
<template>
<srai>CALL ME <star/></srai>
</template>
</category>

I would like to match "My name is Frank, but not My name is Frank Grenier"
I don't know how to check how many words matched with the star... If I coul=
d
verify it, that can solve my problem...

Can you help me?
Thanks in advance

Francis

P.S. Sorry for my english

------=_Part_189_21552475.1132599784884
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<span class=3D"sb_messagebody">Hi, I would like to know if there's a possib=
ility to know how many words matched with a &quot;*&quot; in &lt;pattern ..=
. &lt;/pattern&gt;?<br><br>Example: <br>&lt;category&gt;<br>&lt;pattern&gt;=
MY NAME IS * &lt;/pattern&gt;
<br>&lt;template&gt;<br>&lt;srai&gt;CALL ME &lt;star/&gt;&lt;/srai&gt;<br>&=
lt;/template&gt;<br>&lt;/category&gt;<br><br>I would like to match &quot;My=
 name is Frank, but not My name is Frank Grenier&quot; <br>I don't know how=
 to check how many words matched with the star... If I could verify it, tha=
t can solve my problem...
<br><br>Can you help me?<br>Thanks in advance<br><br>Francis<br><br>P.S. So=
rry for my english</span>

------=_Part_189_21552475.1132599784884--