Re: Patch: gw/urltrans.c
"Nikos Balkanas" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <E2EA778E8AEA471595A2717A4F05A74A@drwho> |
Not really. kannel normally uses regex for regexp. If compiled with pcre, then it will expand patterns to include pcre. However, for simple folks, as Alex M indicated, the possibility with plain regex is still there: keyword-regex = [Cc][Aa][Pp][Ss] will match all case permutations of "Caps". No need for "i" switches. It should be more efficient as well. BR, Nikos ----- Original Message ----- From: "Alejandro Guerrieri" <[email protected]> To: "Milan P. Stanic" <[email protected]> Cc: <[email protected]> Sent: Monday, August 30, 2010 7:36 PM Subject: Re: Patch: gw/urltrans.c Afaik, Kannel uses pcre for regexps. Not sure if it's possible to pass parameters as it is now, but seems like a possible course of action. Regards, -- Alejandro Guerrieri [email protected] On 30/08/2010, at 18:33, Milan P. Stanic wrote: > On Mon, 2010-08-30 at 17:33, Rene Kluwen wrote: >> I agree here. Regexps are by default not case sensitive, unless the >> i-modifier is set. >> >> Isn't internal option setting an option? Like they do here: >> http://nl2.php.net/manual/en/regexp.reference.internal-options.php >> >> Example: (?i:foo) > > This example is PCRE, I think. Kannel regex is POSIX compatible. > > -- > Kind regards, Milan > -------------------------------------------------- > Arvanta, IT Security http://www.arvanta.net > Please do not send me e-mail containing HTML code. >