Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

docs: fix code section formatting in filtering docs

albertony9d87a5192d40
diff --git a/docs/content/filtering.md b/docs/content/filtering.md
index 0e1ccae04..59837954a 100644
--- a/docs/content/filtering.md
+++ b/docs/content/filtering.md
@@ -35,26 +35,26 @@ you expect. Instead use a `--filter...` flag.
Rclone matching rules follow a glob style:
- `*` matches any sequence of non-separator (`/`) characters
- `**` matches any sequence of characters including `/` separators
- `?` matches any single non-separator (`/`) character
- `[` [ `!` ] { character-range } `]`
- character class (must be non-empty)
- `{` pattern-list `}`
- pattern alternatives
- c matches character c (c != `*`, `**`, `?`, `\`, `[`, `{`, `}`)
- `\` c matches character c
+ * matches any sequence of non-separator (/) characters
+ ** matches any sequence of characters including / separators
+ ? matches any single non-separator (/) character
+ [ [ ! ] { character-range } ]
+ character class (must be non-empty)
+ { pattern-list }
+ pattern alternatives
+ c matches character c (c != *, **, ?, \, [, {, })
+ \c matches reserved character c (c = *, **, ?, \, [, {, })
character-range:
- c matches character c (c != `\\`, `-`, `]`)
- `\` c matches character c
- lo `-` hi matches character c for lo <= c <= hi
+ c matches character c (c != \, -, ])
+ \c matches reserved character c (c = \, -, ])
+ lo - hi matches character c for lo <= c <= hi
pattern-list:
- pattern { `,` pattern }
- comma-separated (without spaces) patterns
+ pattern { , pattern }
+ comma-separated (without spaces) patterns
character classes (see [Go regular expression reference](https://golang.org/pkg/regexp/syntax/)) include: