• Inconsistent or lacks explanation

Question related to mission Unix Match. Part 2


Specifically one of the last tests doesn't make sense in this excercise.

['[!]check.txt', '[!]check.txt'] -> True

The pattern '[!]check.txt' should either match any letter in front of 'check.txt' like 'zcheck.txt' or it should simply be invalid like empty '[]' and return False That it should match itself with the brackets '[!]check.txt' does not really make sense in my opinion.