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

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Mar 16 01:07:11 CET 2020

On Mon, 16 Mar 2020 00:21:55 +0100
Marco van de Voort via lazarus <lazarus at lists.lazarus-ide.org> wrote:

> Op 2020-03-16 om 00:05 schreef Mattias Gaertner via lazarus:
> >> Using \ as an escape character isn't really a good choice IMO,
> >> since this function deals with filenames.  
> > So? It is common practice on Unix since decades.  
> Well, euhh, Unix doesn't use backslashes in paths? This would require 
> already existing code suddenly to escape.

True. Since it exists only for Delphi compatibility it is better to
not change it.


More information about the lazarus mailing list