[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Examines the mask expression and creates a list of op codes.
Source position: masks.pas line 254
public procedure TMaskUTF8.Compile; virtual; |
Compile is a virtual method used to examine and convert values from the Mask property into TMaskParsedCode values for the positions in the mask expression.
CaseSensitive indicates if case is significant for the value in Mask. Mask is converted to lowercase prior to processing in the method when CaseSensitive is set to False.
Compile examines each of the UTF-8 codepoints in Mask, and adds values to an internal list representing the character ranges, literal values, or other TMaskParsedCode values needed to evaluate the Mask expression. Compile may raise an exception when an invalid or incomplete mask is encountered. If the Compile method is called again using the same value in Mask, it simply returns False rather than re-raise the exception.
Compile is called from the Matches method when the Mask expression has not already been compiled.
|
Indicates whether the specified value is a match for the Mask expression. |
|
|
Mask expression used to match files or directories in the class instance. |
|
|
Examines the mask expression and creates a list of op codes. |
|
|
Indicates if the mask expression is case sensitive. |
|
|
Indicates if a range expression is automatically reversed when the starting value is larger than the ending value. |
|
|
Contains the character used to escape the following character in a mask expression. |
Version 4.0 | Generated 2025-05-03 | Home |