Put the 3 services upper on the list, and a default service for the rest.
This way, the messages matching "one", "two" and "four" will get processed
by that services and all the rest will go to the default route.

Hope it helps,

Alejandro Guerrieri

On Mon, Oct 6, 2008 at 3:05 PM, Paco <[EMAIL PROTECTED]> wrote:

> Hello, I'm trying to use a regular expression for not matching sms
> starting with one, two or four.
>
> For what I have read the POSIX regular expression for this should be:
> ^(?!one|two|four)
>
> However kannel fails to compile it with: regex compilation
> `^(?!one|two|four)' failed: Invalid preceding regular expression.
>
> Is there a way to make an inverse regular expression match? thing is
> that I have 3 services with keyword one, two and four and I need
> another one to match everything else (but one, two and four of
> course).
>
> Thanks
>
>

Reply via email to