# Bug(ish) - Documentation of .gitattributes Globbing Syntax Whitespace Escapes

1 messages from 2016-01-20 to 2016-01-20. Participants: dis trans.
Thread: https://gitlist.dev/t/41226

## dis trans, 2016-01-20 20:35

Subject: Bug(ish) - Documentation of .gitattributes Globbing Syntax Whitespace Escapes
Message-ID: <CAN1fZZGqERtA1FqSH1sxi4T74TB4sex7kBPBM8J4fVimQO1eSA@mail.gmail.com>
URL: https://gitlist.dev/e/CAN1fZZGqERtA1FqSH1sxi4T74TB4sex7kBPBM8J4fVimQO1eSA%40mail.gmail.com

```
In the documentation for .gitattributes, "[[:space:]]" is mentioned in
a code snippet but is
not documented, and neither is the glob syntax escape from the
documentation page for
.gitignore ("\ ") not working with .gitattributes.

For example, in a .gitattributes file the first glob will work, but
the second will not.

my[[:space:]]directory/**/*
my\ directory/**/*

The opposite is true with .gitignore.

I got caught up for a number of minutes trying to figure out why my
escapes weren't
working in the fancy-pants .gitattributes I whipped up, and I'd
figured it'd be worth saving
someone else the trouble. It could very well be documented somewhere
I'm not aware of
beside the code snippet, but I wasn't able to find it seldom a github
issues search, so I
think it'd be worth putting on the .gitattributes page.

PS -- Apologies for not having a diff to send to fix this, but I don't
currently have the tools
available to me.

```
