Login | Register

About

About -> News -> REGEX modules


New REGEX module

A new module is available in OpenSIPS 1.5.0. The REGEX module is intended to 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.

For more, see the module documentation.


Page last modified on February 18, 2009, at 05:29 PM