[Kamailio-Devel] New module "Regex"

Iñaki Baz Castillo ibc at aliax.net
Wed Jan 14 14:41:56 CET 2009

Hi all,

I announce the first commit of "Regex" module to Kamailio trunk.

This module offers matching operations against regular expressions
using the powerful PCRE library.
A text file containing regular expressions categorized in groups is
compiled when the module is loaded, storing the compiled PCRE objects
in an array. A function to match a string or pseudo-variable against
any of these groups is provided. The text file can be modified and
reloaded at any time via a MI command.
The module also offers a function to perform a PCRE matching operation
against a regular expression provided as function parameter.

The module documentation is already online:

The commit has been done in rev 5458:

Any suggestion is really welcome.

Iñaki Baz Castillo
<ibc at aliax.net>

More information about the Devel mailing list