Correct way to specify rules globs?

please document the glob syntax. no spaces after commas for example is huge as the IDE has no visual indication of a space when editing a rule.

Space after comma:

No space after comma:

Also syntax support for groups, optional, negate, etc would be really nice. For example, /**/*.{j,t}s?(x) or /tests/**/*.{spec,test}.{js,ts}