[Lazarus] MatchesWindowsMask('[x]','[x]') return False
Bart
bartjunk64 at gmail.com
Sun Mar 15 14:36:37 CET 2020
On Sun, Mar 15, 2020 at 1:10 PM Rolf Wetjen via lazarus
<lazarus at lists.lazarus-ide.org> wrote:
> I think that this isn't the expected behavior especially as [ and ] are
> regular character for file and path names in windows.
MatchesMask doesn;t have an Escape char AFAIK
If you have [[] in the mask, it will match a single [ I guess, but []]
isn't going to work for a single ]...
Please file a bugreport.
Somebody should test this behaviour against Delphi.
--
Bart
More information about the lazarus
mailing list