[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Indicates whether the specified value is a match for the Mask expression.
Source position: masks.pas line 255
public function TMaskUTF8.Matches( |
const aStringToMatch: string |
):Boolean; virtual; |
aStringToMatch |
|
Value to compare to the Mask expression. |
True when the specified value matches the Mask expression.
Matches calls Compile if the MaskOpCodes have not been compiled for the Mask expression, or when one the configuration parameters has been changed for the class instance. When CaseSensitive is set to False, the value in aStringToMatch is converted to a lowercase UTF-8 codepoint for the comparison.
Matches calls the IntfMatches method to implement the comparison between the specified value using the MaskOpCodes for the class instance. The return value is True if the call to IntfMatches is successful. It is False if either the Mask expression or the compared value is too long or too short.
|
Implements the Matches method for the supported platform. |
|
|
Mask expression used to match files or directories in the class instance. |
|
|
Examines the mask expression and creates a list of op codes. |
|
|
Contains the set of mask op codes enabled for the class instance. |
|
|
Indicates if the mask expression is case sensitive. |
Version 4.0 | Generated 2025-05-03 | Home |