• Unix Match. Part 2

 

So in this mission i have two tests.

They are:

assert unix_match("nametxt","name[]txt") == False
assert unix_match("checkio","[c[]heckio") == True

I don't understand, why first test is false, but second test is true(

.