[Lazarus] MatchesWindowsMask('[x]','[x]') return False

Bart bartjunk64 at gmail.com
Sat Mar 21 12:59:20 CET 2020


On Sat, Mar 21, 2020 at 12:07 PM Rolf Wetjen via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

> Helloworld / He[lo]?orld - False
The mask only caters for either Hel?world or Heo?world, so that is correct

> Helloworld / He[lo]*orld - True
The mask only caters for either Hel*world or Heo*world, so that is
correct (the first one matches)

> Helloworld / He[lo]world - False
The mask only caters for either Helworld or Heoworld, so that is correct

No bug here.

Note that sets don't work like a RegEx where you can specify e.g. n
times either 'l' or 'o'.

-- 
Bart


More information about the lazarus mailing list