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

TMaskOpCodes

Set type used to store values from the TMaskOpcode enumeration.

Declaration

Source position: masks.pas line 61

type TMaskOpCodes = set of (

  mocAnyChar,

  

Treats '?' as a wildcard to match exactly one char.

  mocAnyCharOrNone,

  mocAnyText,

  mocRange,

  

Causes '[a-c]'' to match either 'a', 'b' or 'c'. '-' is always treated as the range separator. To use a literal '-' in a range, it must be escaped using the EscapeChar (default is '\') for a mask instance. '[+-\-]' matches '+', ',' or '-'.

  mocSet,

  mocNegateGroup,

  mocEscapeChar

);

Description

TMaskOpcodes is the type passed as argument to the constructor for TMaskBase and TWindowsMaskUTF8 classes, and used to implement their MaskOpCodes property.

See also

TMaskBase.MaskOpCodes

  

Contains the set of mask op codes enabled for the class instance.

TMaskUTF8

  

Implements a class used to define, evaluate, and compare a mask expression using UNIX file system mask conventions.

TWindowsMaskUTF8

  

Implements a class used to define and evaluate a mask expression using Windows file system mask conventions.


Version 4.0 Generated 2025-05-03 Home