I'm a little confused. Are you using `\r` to make this rule match files but not directories? Is that a documented feature of `.gitignore`?