curl / Mailing Lists / curl-library / Single Mail

curl-library

wildcard matching

From: Patrick Monnerat via curl-library <curl-library_at_cool.haxx.se>
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 ?

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-01-27