[fpc-pascal] findfirst wildcards...

Bart bartjunk64 at gmail.com
Thu Dec 4 18:30:34 CET 2014

On 12/3/14, waldo kitty <wkitty42 at windstream.net> wrote:
> On 12/3/2014 5:09 PM, Bart wrote:

>>>> Windows.FindFirstFile however treats ? as exactly 1 character AFAIK.
>>>> And is I'm not mistake this was also the case with TP in the old days.

Seems I was mistaken. Sorry for the confusion.
FF with mask 'x?.tst' will list bot 'x.tst' and 'xx.tst'.
MatchesMask('x.tst','x?.tst') resturns False as it does in Delphi (7)...

MatchesMask however treats the mask more like on nix platform and
supports things that FF/FN do not.


More information about the fpc-pascal mailing list