[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sr-dev
Subject:    [Devel] dynamic regexps
From:       jfkavaka () gmail ! com (JF)
Date:       2006-02-28 7:36:16
Message-ID: b33002040602272236v2cc1b2fep7d39494591e08ef8 () mail ! gmail ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic