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

Reply via email to