[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Masks' (#lazutils)

Reference for unit 'Masks'

Contains classes for matching file names to file masks.

uses

  Classes,

  sysutils,

  Contnrs,

  LazUtilsStrConsts,

  

Resource strings used in the LazUtils package.

  LazUTF8;

  

Routines for managing UTF-8-encoded strings.

Overview

masks.pas contains classes, types, and routines used implement file and directory masks. Masks are patterns used to match file names found on the local file system. Support is provided for both UNIX- and Windows-style masks. The unit includes utility functions to compare one or more file names to a given mask, including: MatchesMask, MatchesWindowsMask, MatchesMaskList, and MatchesWindowsMaskList.

It is fast and optimized, and fully supports Unicode. Also supports DOS/Windows compatible masks which behave differently from standard masks.

masks.pas is part of the LazUtils package.

Author: José Mejuto

Changes and improvements by: Juha Manninen and Bart Broersma.

Related topics

MasksOverview

  

Masks Overview.


Version 4.0 Generated 2025-05-03 Home