[Lazarus] MatchesWindowsMask('[x]','[x]') return False

Rolf Wetjen rolf.wetjen at mail.de
Sun Mar 15 19:07:40 CET 2020


Hi Bart,

sorry, this isn't a workaround if you get the filenames form 
FindFirst/FindNext and want to test against a fixed mask.

My workaround for MatchesWindowsMask is quick' n'dirty too: Replace [ 
with #17 and ] with #18 in the mask and in the test string. Anyway, 
let's wait for the info about Delphi.

Rolf


-- 
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus



More information about the lazarus mailing list