https://issues.apache.org/bugzilla/show_bug.cgi?id=55883

            Bug ID: 55883
           Summary: string callers of ap_expr should be able to transform
                    expr with regexes
           Product: Apache httpd-2
           Version: 2.4.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: All
          Assignee: [email protected]
          Reporter: [email protected]

IIUC modules that pull string values out of ap_expr can't make use of regexes
in the expression to transform the value before it pops out.  

This is because the starting state is "string" and while backrefs are
reachable, operators that actually do a regex are not.

Maybe a three-parm function (string, regex, replacement) kind of like
preg_replace()? e.g. subst("^/[^/]+/(.*)", "$1", %{FOO})

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to