You cant' match a space on the regex :(
It's a well-known-yet-undocumented limitation on the regexp implementation:
Kannel splits the keyword on the first space before feeding the regexp engine, so it won't match what cannot "see".
In short: Regexps can only match until the first space.
I'm afraid you'll have to implement your own logic on the rest of the string at application level.
Hope it helps,
Alejandro Guerrieri
On 7/29/05, Gareth Reakes <[EMAIL PROTECTED]> wrote:
Hey all,
Stephane Rosa wrote:
> Hola Alejandro,
>
> Welcome to regex irregular world :-))
>
> I suggest using this instead :
> keyword-regex="^(BS|bs) [0-9]{4}"
This still won't work as you can't have a space. I fixed this and
submitted a patch. I don't know if its made it in to CVS yet. If you
want a patch to 1.4 then search the user archive, if you want it against
CVS then search the devel archive.
Cheers,
Gareth
--
Gareth Reakes, Managing Director Embrace Mobile
+44-1865-811197 http://www.embracemobile.com
--
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/
