(?d) example

GitHub-Pull-Request: https://github.com/syncthing/docs/pull/182
This commit is contained in:
uglygus
2016-06-03 11:07:17 +00:00
committed by Audrius Butkevicius
parent 899b9fc6c7
commit 8748339201
+2
View File
@@ -89,6 +89,7 @@ Example
Given a directory layout::
.DS_Store
foo
foofoo
bar/
@@ -113,6 +114,7 @@ and an ``.stignore`` file with the contents::
all files and directories called "foo", ending in a "2" or starting with
"qu" will be ignored. The end result becomes::
(?d).DS_Store # ignored, will be deleted if gets in the way of parent directory removal
foo # ignored, matches "foo"
foofoo # synced, does not match "foo" but would match "foo*" or "*foo"
bar/ # synced