When extracting files with tar, the wildcard matches directories. This does not happen with unsquashfs, in normal mode nor in regex mode. Since they are used for the same purpose, would be nice if unsquashfs behaved like tar.
tar: pattern "foo" matches "some/dir/barfoo".
unsquashfs: pattern "foo" does not match "some/dir/barfoo".
SF killed the example code.
The pattern was "*foo".