On 12/05/2014 02:26 PM, Eric Covener wrote:
On Thu, Nov 27, 2014 at 8:46 AM,  <jkal...@apache.org> wrote:
* ap_exr: Add replace(string, from, to) function.

Is it possible to evaluate this from ap_expr_str_exec()?

Hm, it worked for me like this:

Require expr replace(%{REQUEST_METHOD},  "E", "O") == "GOT"

This internally uses ap_expr_str_exec().

I am stuck on trying to get it to work. I think we cannot get to multi-valued
functions from  the %{func:arg} syntax used when starting at string.

I think I'm lost here. Checking for ap_expr documentation, I don't see this syntax. Can you describe this more. I'm sorry, but was checking ap_expr for first time while doing this patch, so there might be things I overlooked.

Regards,
Jan Kaluza

Reply via email to