bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Exclude optimization


From: Sergey Poznyakoff
Subject: Re: [PATCH] Exclude optimization
Date: Tue, 11 Aug 2009 22:37:40 +0300

Hi Ralf,

> This would seem to still mis-characterizes patterns such as 'foo]'.

Yes, of course. But this function is by no means thought to correctly
catch all possible variations of wildcard patterns (one would have to
duplicate fnmatch for that). Its purpose is to give a rough estimate
on whether a given pattern is a fixed literal or a wildcard string.
It may, in same cases, incorrectly recognize the former to be the
latter, but never vice-versa.

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]