Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2008-04

isWild bug?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Luca Olivetti

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

Reply by email