On Mon, Mar 16, 2020 at 12:05 AM Mattias Gaertner via lazarus
<[email protected]> wrote:

> I can't find MatchesWindowMask in Delphi 10.3. I found MatchesMask,
> which works the same. It supports [] too and I can't find any other way
> than [[].

I implemented that variation because MatchesMask treats wildcards like
*nix does: '*.*' doesn't match 'foo'.
Since this is counterintuitive to Windows users (and most likely not
Delphi comapitble) I implemented MatcesWindowsMask.
See the implementation to see how Windows handles wildcards different
in some (corner) cases.

-- 
Bart
-- 
_______________________________________________
lazarus mailing list
[email protected]
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to