[fpc-pascal] isWild bug?

Luca Olivetti luca at ventoso.org
Tue Apr 15 10:21:37 CEST 2008


I'm not sure it is a bug or the intended behaviour, so I'm asking here:

IsWild('c','cc*',true) returns true
IsWild('ca','cc*',true) returns false

The first result seems incorrect to me, I think the original string 
should start with 'cc' to match 'cc*'.

Bye
-- 
Luca




More information about the fpc-pascal mailing list