{"action":"opened","issue":{"url":"https://api.github.com/repos/compose/transporter/issues/153","labels_url":"https://api.github.com/repos/compose/transporter/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/compose/transporter/issues/153/comments","events_url":"https://api.github.com/repos/compose/transporter/issues/153/events","html_url":"https://github.com/compose/transporter/issues/153","id":120346724,"number":153,"title":"Exact namespace matches like regex","user":{"login":"ernoaapa","id":662535,"avatar_url":"https://avatars.githubusercontent.com/u/662535?v=3","gravatar_id":"","url":"https://api.github.com/users/ernoaapa","html_url":"https://github.com/ernoaapa","followers_url":"https://api.github.com/users/ernoaapa/followers","following_url":"https://api.github.com/users/ernoaapa/following{/other_user}","gists_url":"https://api.github.com/users/ernoaapa/gists{/gist_id}","starred_url":"https://api.github.com/users/ernoaapa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ernoaapa/subscriptions","organizations_url":"https://api.github.com/users/ernoaapa/orgs","repos_url":"https://api.github.com/users/ernoaapa/repos","events_url":"https://api.github.com/users/ernoaapa/events{/privacy}","received_events_url":"https://api.github.com/users/ernoaapa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-04T07:08:35Z","updated_at":"2015-12-04T07:08:35Z","closed_at":null,"body":"Hi,\r\nJust found out that if I use `my_db.User` as namespace as source, and I have `FooUser` and/or `UserFoo` collection in my database, it will copy all collections `*User*` collections.\r\n\r\n## Example\r\n```\r\n# Create test data to MongoDB\r\n> db.User.insert({test:\"user collection\"})\r\n> db.FooUser.insert({test:\"foo user collection\"})\r\n> db.UserFoo.insert({test:\"user foo collection\"})\r\n```\r\n```\r\n# Run \r\nSource({name:\"source_mongo\", namespace: 'my_source_database.User'})\r\n  .save({name:\"target_mongo\", namespace: 'my_target_database./.*/'});\r\n```\r\n`my_target_database` contains now collections `User`, `FooUser` and `UserFoo`.\r\n\r\nTransporter version: 0.1.1\r\nHost: OS X El Capitan 10.11.1"}}