"" matches "" "a" matches "a" "?" matches "b" "??" matches "bc" "?c" matches "bc" "b?" matches "bc" "[a-z]" matches "b" "*" matches "a" "**" matches "a" "*" matches "" "*bc*hij" matches "abcdfghij" "abc*" matches "abc" "abc**" matches "abc" "[!]]" matches "!" "[!abc]" matches "d" "*???" matches "abc" "*???" matches "abcd" "*?*" matches "abcd" "*bc" matches "abc" "*[a-e]" matches "d" "[]abc]" matches "b" "[z-a]" matches "-" "[A-]" matches "-" "[-a]" matches "-" "[-[]" matches "-" "[-]" matches "-" "[!-b]" matches "a" "[a-g]lorian" matches "florian" "*???*" matches "123" Credit: http://user.cs.tu-berlin.de/~schintke/references/wildcards/testwildcards.report