Re: Two or more word keyword

"Yahya M." <[email protected]> Mon, 12 Nov 2018 12:11:04 +0300
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <CAK3fPuygnC9monvczLqvGQTTP8mXbjv4adAhjoOKLf36+ar1Og@mail.gmail.com>
--000000000000e55ecc057a7416cc
Content-Type: text/plain; charset="UTF-8"

Thanks a lot. But, I don't know how to use regex properly. i have been
trying this for over three weeks now and I need some regex examples for
these two keywords. "stop all" and "stop B" in different variations like
"STOP ALL", "Stop All", "Stop all", "STOP B", "Stop B", "Stop b".

thanks.

On Mon, Nov 12, 2018 at 11:46 AM <[email protected]> wrote:

> Hi,
>
> please check userguide:
>
> https://kannel.org/download/kannel-userguide-snapshot/userguide.html#AEN4069
>
> Especially:
> keyword-regex POSIX regular expression This field may be used to enable
> service-selection based on a regular expression. You can define either
> keyword or keyword-regex in configuration, but not both in the same
> sms-service. keyword-regex is case sensitive. See section on Regular
> Expressions
> <https://kannel.org/download/kannel-userguide-snapshot/userguide.html#regular-expressions> for
> details.
>
> Thanks,
> Alex
>
> P.S. This question belongs to users mailing list and not devel.
>
> Am 12.11.2018 um 09:33 schrieb Yahya M. <[email protected]>:
>
> I want my system to respond to a keywords that made up of two or more
> words like "stop all" or "stop A". I tried to set this up. but it responds
> with unknown keyword reply. default service. Is there anyway I can achieve
> this? Give me some examples please. thanks
>
>
>
>

--000000000000e55ecc057a7416cc
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thanks a lot. But, I don&#39;t know how to use regex prope=
rly. i have been trying this for over three weeks now and I need some regex=
 examples for these two keywords. &quot;stop all&quot; and &quot;stop B&quo=
t; in different variations like &quot;STOP ALL&quot;, &quot;Stop All&quot;,=
 &quot;Stop all&quot;, &quot;STOP B&quot;, &quot;Stop B&quot;, &quot;Stop b=
&quot;.<br><div><br></div><div>thanks.</div></div><br><div class=3D"gmail_q=
uote"><div dir=3D"ltr">On Mon, Nov 12, 2018 at 11:46 AM &lt;<a href=3D"mail=
to:[email protected]">[email protected]</a>&gt; wrote:<br></div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so=
lid;padding-left:1ex"><div style=3D"word-wrap:break-word;line-break:after-w=
hite-space">Hi,<div><br></div><div>please check userguide:</div><div><a hre=
f=3D"https://kannel.org/download/kannel-userguide-snapshot/userguide.html#A=
EN4069" target=3D"_blank">https://kannel.org/download/kannel-userguide-snap=
shot/userguide.html#AEN4069</a></div><div><br></div><div>Especially:</div><=
div><table border=3D"0" frame=3D"void" class=3D"m_6379405730323135109CALSTA=
BLE" style=3D"color:rgb(0,0,0);font-family:Times;background-color:rgb(255,2=
55,255)"><tbody><tr><td><tt class=3D"m_6379405730323135109literal">keyword-=
regex</tt></td><td>POSIX regular expression</td><td valign=3D"bottom">
 This field may be used to enable service-selection based on a regular expr=
ession. You can define either keyword or keyword-regex in configuration, bu=
t not both in the same sms-service. keyword-regex is case sensitive. See se=
ction on=C2=A0<a href=3D"https://kannel.org/download/kannel-userguide-snaps=
hot/userguide.html#regular-expressions" target=3D"_blank">Regular Expressio=
ns</a>=C2=A0for details.</td></tr></tbody></table><div><br></div><div>Thank=
s,</div><div>Alex</div><div><br></div><div>P.S. This question belongs to us=
ers mailing list and not devel.</div><div><br><blockquote type=3D"cite"><di=
v>Am 12.11.2018 um 09:33 schrieb Yahya M. &lt;<a href=3D"mailto:yahiyamoham=
[email protected]" target=3D"_blank">[email protected]</a>&gt;:</d=
iv><br class=3D"m_6379405730323135109Apple-interchange-newline"><div><div d=
ir=3D"ltr" style=3D"font-family:Helvetica;font-size:12px;font-style:normal;=
font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-alig=
n:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing=
:0px;text-decoration:none"><div dir=3D"ltr">I want my system to respond to =
a keywords that made up of two or more words like &quot;stop all&quot; or &=
quot;stop A&quot;. I tried to set this up. but it responds with unknown key=
word reply. default service. Is there anyway I can achieve this? Give me so=
me examples please. thanks<br></div><br><br><img name=3D"m_6379405730323135=
109_mtimg" width=3D"1" height=3D"1" src=3D"https://mailcastr.com/image/MTA5=
NDgzMDIwNDI5NDM2ODkyNDI5Ojo6Nzk1NmQ3YjItNjQxZC00MWMzLTg4YzktZWYzNmFmYjlmNjg=
0Ojp2Mjo6MTU0MjAxMTU5Njk3NTo6Z21haWw=3D/" style=3D"border:none"></div></div=
></blockquote></div><br></div></div></blockquote></div>

--000000000000e55ecc057a7416cc--