{"action":"closed","issue":{"url":"https://api.github.com/repos/udp/genbankjs/issues/6","repository_url":"https://api.github.com/repos/udp/genbankjs","labels_url":"https://api.github.com/repos/udp/genbankjs/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/udp/genbankjs/issues/6/comments","events_url":"https://api.github.com/repos/udp/genbankjs/issues/6/events","html_url":"https://github.com/udp/genbankjs/issues/6","id":122550255,"number":6,"title":"does not handle joins","user":{"login":"wookoouk","id":445964,"avatar_url":"https://avatars.githubusercontent.com/u/445964?v=3","gravatar_id":"","url":"https://api.github.com/users/wookoouk","html_url":"https://github.com/wookoouk","followers_url":"https://api.github.com/users/wookoouk/followers","following_url":"https://api.github.com/users/wookoouk/following{/other_user}","gists_url":"https://api.github.com/users/wookoouk/gists{/gist_id}","starred_url":"https://api.github.com/users/wookoouk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wookoouk/subscriptions","organizations_url":"https://api.github.com/users/wookoouk/orgs","repos_url":"https://api.github.com/users/wookoouk/repos","events_url":"https://api.github.com/users/wookoouk/events{/privacy}","received_events_url":"https://api.github.com/users/wookoouk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-16T16:46:20Z","updated_at":"2016-04-12T10:18:36Z","closed_at":"2016-04-12T10:18:35Z","body":"Just as there is a check for compliments:\r\n```\r\nvar complement = location.match(/^complement\\((.+)\\)$/);\r\n```\r\n\r\nthere should be something to handle joins\r\n\r\nI have tried:\r\n```\r\n var join = location.match(/^join\\((.+)\\)$/);\r\n\r\n          if (join !== null) {\r\n            location = join[1];\r\n          }\r\n```\r\n\r\nbut I then have `852..1229,1419..1754` and I am not sure how to handle 2 sets of numbers..."}}