[Devel] dynamic regexps

JF jfkavaka at gmail.com
Tue Feb 28 07:36:25 CET 2006


Hi all,

Just wondering if someone else will find useful the following
(requested) feature: supporting "dynamic" values for regexps. This
mean for instance supporting:

avp_check("$ru", "re/$avp(s:regexp1)");
search_body("$avp(s:regexp2)");

Of course, this has the overhead of having to compile the regexps
just-in-time, at message processing time. But it can be very useful to
dynamically configure the behaviour of the server.

I guess this will involve minor changes in fixup functions and
addition of regcomp() in case a "pseudo-variable" is present.

What do people think about this?

JF



More information about the Devel mailing list