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


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