curl / Mailing Lists / curl-library / Single Mail


wildcard matching

From: Patrick Monnerat via curl-library <>
Date: Sat, 27 Jan 2018 05:11:11 +0100

 From the curl_fnmatch.c code and unit1307.c tests, I can see that
currently, a negated character set pattern can match the end of string.

Example: "a" is matched by pattern "a[^b]".

It is not what shell globing does: the end of data can only be matched
by the end of the pattern.

Is it intentional or a bug ?

Received on 2018-01-27