--pattern--
**/db/**
--match--
/db
//server/db
c:/db
c:/spring/service/deploy/app/db/foo
c:/spring/service/deploy/app/db/foo.db
c:/spring/service/deploy/app/spaced dir/db
c:/spring/service/deploy/app/db/backup/foo
--dont-match--
c:/spring/service/deploy/app/adb/foo.db
c:/spring/service/deploy/app/dba/foo.db
c:/spring/service/deploy/app/adba/foo.db

--pattern--
c:/bin/**/*.*
--match--
c:/bin/foo/foo.log
--dont-match--
c:/bar/bin/foo.log

--pattern--
c:/**/bin/**/*.*
--match--
c:/bin/foo/foo.log
c:/bar/bin/foo.log

--pattern--
**/db*/**
--match--
/db
//server/db
c:/db
c:/spring/service/deploy/app/db/foo
c:/spring/service/deploy/app/db/foo.db
c:/spring/service/deploy/app/spaced dir/db
c:/spring/service/deploy/app/db/backup/foo
c:/spring/service/deploy/app/dba/foo.db
--dont-match--
c:/spring/service/deploy/app/adba/foo.db
c:/spring/service/deploy/app/adb/foo.db

--pattern--
**/*db*/**
--match--
/db
//server/db
c:/db
c:/spring/service/deploy/app/db/foo
c:/spring/service/deploy/app/db/foo.db
c:/spring/service/deploy/app/spaced dir/db
c:/spring/service/deploy/app/db/backup/foo
c:/spring/service/deploy/app/dba/foo.db
c:/spring/service/deploy/app/adba/foo.db
c:/spring/service/deploy/app/adb/foo.db
--dont-match--
x:/qwrty/zxpv

--pattern--
**/db/foo
--match--
c:/spring/service/deploy/app/db/foo
--dont-match--
c:/spring/service/deploy/app/db/foo.db
c:/spring/service/deploy/app/spaced dir/db/foo.db
c:/spring/service/deploy/app/db/backup/foo
//server/share/service/deploy/app/db/backup/foo

--pattern--
**/*.log
--match--
c:/spring/service/deploy/app/db/foo.log
c:/foo.log
c:/foolog.log
c:/foo.bar.log
c:/foo.log.log
--dont-match--
c:/foo.db
c:/foo.log.db

--pattern--
**/fo?.log
--match--
c:/spring/service/deploy/app/db/foo.log
c:/foo.log
--dont-match--
c:/foo.db
c:/foo.log.db
c:/fo.log
c:/orfo.log
c:/foolog.log
c:/foo.bar.log
c:/foo.log.log
