Pattern can be longer than the string, e.g: "*****" matches "a"