parent
29f967dba3
commit
9d87a5192d
1 changed files with 14 additions and 14 deletions
|
@ -35,26 +35,26 @@ you expect. Instead use a `--filter...` flag.
|
||||||
|
|
||||||
Rclone matching rules follow a glob style:
|
Rclone matching rules follow a glob style:
|
||||||
|
|
||||||
`*` matches any sequence of non-separator (`/`) characters
|
* matches any sequence of non-separator (/) characters
|
||||||
`**` matches any sequence of characters including `/` separators
|
** matches any sequence of characters including / separators
|
||||||
`?` matches any single non-separator (`/`) character
|
? matches any single non-separator (/) character
|
||||||
`[` [ `!` ] { character-range } `]`
|
[ [ ! ] { character-range } ]
|
||||||
character class (must be non-empty)
|
character class (must be non-empty)
|
||||||
`{` pattern-list `}`
|
{ pattern-list }
|
||||||
pattern alternatives
|
pattern alternatives
|
||||||
c matches character c (c != `*`, `**`, `?`, `\`, `[`, `{`, `}`)
|
c matches character c (c != *, **, ?, \, [, {, })
|
||||||
`\` c matches character c
|
\c matches reserved character c (c = *, **, ?, \, [, {, })
|
||||||
|
|
||||||
character-range:
|
character-range:
|
||||||
|
|
||||||
c matches character c (c != `\\`, `-`, `]`)
|
c matches character c (c != \, -, ])
|
||||||
`\` c matches character c
|
\c matches reserved character c (c = \, -, ])
|
||||||
lo `-` hi matches character c for lo <= c <= hi
|
lo - hi matches character c for lo <= c <= hi
|
||||||
|
|
||||||
pattern-list:
|
pattern-list:
|
||||||
|
|
||||||
pattern { `,` pattern }
|
pattern { , pattern }
|
||||||
comma-separated (without spaces) patterns
|
comma-separated (without spaces) patterns
|
||||||
|
|
||||||
character classes (see [Go regular expression reference](https://golang.org/pkg/regexp/syntax/)) include:
|
character classes (see [Go regular expression reference](https://golang.org/pkg/regexp/syntax/)) include:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue