{"action":"closed","issue":{"url":"https://api.github.com/repos/Engelberg/instaparse/issues/134","repository_url":"https://api.github.com/repos/Engelberg/instaparse","labels_url":"https://api.github.com/repos/Engelberg/instaparse/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/Engelberg/instaparse/issues/134/comments","events_url":"https://api.github.com/repos/Engelberg/instaparse/issues/134/events","html_url":"https://github.com/Engelberg/instaparse/issues/134","id":152460949,"number":134,"title":"(ABNF) repetition does not repeat the entire group","user":{"login":"Whoops","id":304505,"avatar_url":"https://avatars.githubusercontent.com/u/304505?v=3","gravatar_id":"","url":"https://api.github.com/users/Whoops","html_url":"https://github.com/Whoops","followers_url":"https://api.github.com/users/Whoops/followers","following_url":"https://api.github.com/users/Whoops/following{/other_user}","gists_url":"https://api.github.com/users/Whoops/gists{/gist_id}","starred_url":"https://api.github.com/users/Whoops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Whoops/subscriptions","organizations_url":"https://api.github.com/users/Whoops/orgs","repos_url":"https://api.github.com/users/Whoops/repos","events_url":"https://api.github.com/users/Whoops/events{/privacy}","received_events_url":"https://api.github.com/users/Whoops/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-01T22:57:33Z","updated_at":"2016-05-02T05:04:34Z","closed_at":"2016-05-02T05:04:34Z","body":"I found this attempting to use the grammer for IPv6 addresses defined in [RFC5954](http://www.rfc-base.org/txt/rfc-5954.txt). It appears when using groups, Instraparse does not expect a repetition of the entire group. For example `test = 2(DIGIT \":\")` should match a digit followed by a colon twice, for example `1:1:` instead:\r\n```clojure\r\n(defn parse-test [data] \r\n                (let [parse (parser \"test = 2(DIGIT \\\":\\\")\"\r\n                                    :input-format :abnf)]\r\n                  (parse data)))\r\n#'dmarced.core/parse-test\r\ndmarced.core> (parse-test \"1:\")\r\n[:test [:DIGIT \"1\"] \":\"]\r\ndmarced.core> (parse-test \"1:1:\")\r\nParse error at line 1, column 1:\r\n1:1:\r\n^\r\n```"}}