On Fri, Dec 5, 2014 at 9:05 PM, Ruediger Pluem <rpl...@apache.org> wrote:
> On 12/05/2014 05:51 PM, Yann Ylavic wrote:
>> Maybe it is worth noting (doc?) that "from" is a ap_strmatch() pattern
>> (with wildcards [*?]), hence eg.
>
> Are you sure you aren't assuming apr_fnmatch instead of apr_strmatch?

Doh! Absolutely.
I did not know apr_strmatch() actually, and read it as ap_strcmp_match()...
Nice function though, will use it more often :p

Just grep'ing "strmatch" now, I find this :

# server/util_expr_eval.c
static int op_strmatch(ap_expr_eval_ctx_t *ctx, const void *data,
                       const char *arg1, const char *arg2)
{
    return (APR_SUCCESS == apr_fnmatch(arg2, arg1, 0));
}

Quite confusing :)

Sorry for the noise,
regards,
Yann.

Reply via email to