[Lazarus] Attn José: TWindowsMask oddity?

Bart bartjunk64 at gmail.com
Sun Oct 31 17:12:53 CET 2021


Hi José,

In TWindowsMask.Compile (as in your TMaskUTF8Windows class) you do a
call to EscapeSpecialChars on the modified mask.
This will escape a.o. any '[' and ']'  character, so ranges and sets
are not possible to use in the mask anymore.

Why did you disable ranges and sets in the Windows implementation?

And another question: why do you call Compile in the constructor for
TWindowsMask (TMaskUTF8Windows in your original)?

--
Bart


More information about the lazarus mailing list