{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/consul-template/issues/357","labels_url":"https://api.github.com/repos/hashicorp/consul-template/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/consul-template/issues/357/comments","events_url":"https://api.github.com/repos/hashicorp/consul-template/issues/357/events","html_url":"https://github.com/hashicorp/consul-template/issues/357","id":100203967,"number":357,"title":"range service with regexMatch","user":{"login":"ljcp","id":1672971,"avatar_url":"https://avatars.githubusercontent.com/u/1672971?v=3","gravatar_id":"","url":"https://api.github.com/users/ljcp","html_url":"https://github.com/ljcp","followers_url":"https://api.github.com/users/ljcp/followers","following_url":"https://api.github.com/users/ljcp/following{/other_user}","gists_url":"https://api.github.com/users/ljcp/gists{/gist_id}","starred_url":"https://api.github.com/users/ljcp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljcp/subscriptions","organizations_url":"https://api.github.com/users/ljcp/orgs","repos_url":"https://api.github.com/users/ljcp/repos","events_url":"https://api.github.com/users/ljcp/events{/privacy}","received_events_url":"https://api.github.com/users/ljcp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-08-11T01:34:47Z","updated_at":"2015-08-11T18:33:42Z","closed_at":"2015-08-11T05:11:36Z","body":"I want to list all the services that starts with webserver\r\n\r\nwebserver-one\r\nwebserver-two\r\n....\r\n\r\n```\r\n{{range service | regexMatch \"webserver*\"}}\r\n      server {{.Name}}:{{.Port}};\r\n                {{else}}\r\n                        server 127.0.0.1;\r\n                {{end}}\r\n\r\n```\r\n\r\nbut i throws an error ? any clues "},"comment":{"url":"https://api.github.com/repos/hashicorp/consul-template/issues/comments/130006218","html_url":"https://github.com/hashicorp/consul-template/issues/357#issuecomment-130006218","issue_url":"https://api.github.com/repos/hashicorp/consul-template/issues/357","id":130006218,"user":{"login":"ljcp","id":1672971,"avatar_url":"https://avatars.githubusercontent.com/u/1672971?v=3","gravatar_id":"","url":"https://api.github.com/users/ljcp","html_url":"https://github.com/ljcp","followers_url":"https://api.github.com/users/ljcp/followers","following_url":"https://api.github.com/users/ljcp/following{/other_user}","gists_url":"https://api.github.com/users/ljcp/gists{/gist_id}","starred_url":"https://api.github.com/users/ljcp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljcp/subscriptions","organizations_url":"https://api.github.com/users/ljcp/orgs","repos_url":"https://api.github.com/users/ljcp/repos","events_url":"https://api.github.com/users/ljcp/events{/privacy}","received_events_url":"https://api.github.com/users/ljcp/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T18:33:42Z","updated_at":"2015-08-11T18:33:42Z","body":"thank you for your patience :100:  now I I understood :)"}}