{"action":"created","issue":{"url":"https://api.github.com/repos/ndmitchell/tagsoup/issues/76","repository_url":"https://api.github.com/repos/ndmitchell/tagsoup","labels_url":"https://api.github.com/repos/ndmitchell/tagsoup/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/ndmitchell/tagsoup/issues/76/comments","events_url":"https://api.github.com/repos/ndmitchell/tagsoup/issues/76/events","html_url":"https://github.com/ndmitchell/tagsoup/issues/76","id":377075229,"node_id":"MDU6SXNzdWUzNzcwNzUyMjk=","number":76,"title":"Parsing arbitrary numerical tags","user":{"login":"meck","id":762115,"node_id":"MDQ6VXNlcjc2MjExNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/762115?v=4","gravatar_id":"","url":"https://api.github.com/users/meck","html_url":"https://github.com/meck","followers_url":"https://api.github.com/users/meck/followers","following_url":"https://api.github.com/users/meck/following{/other_user}","gists_url":"https://api.github.com/users/meck/gists{/gist_id}","starred_url":"https://api.github.com/users/meck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meck/subscriptions","organizations_url":"https://api.github.com/users/meck/orgs","repos_url":"https://api.github.com/users/meck/repos","events_url":"https://api.github.com/users/meck/events{/privacy}","received_events_url":"https://api.github.com/users/meck/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-03T17:24:12Z","updated_at":"2018-11-04T00:31:15Z","closed_at":"2018-11-04T00:31:15Z","author_association":"NONE","body":"While trying to parse the output from Hoogle in order to extract function names:\r\n``` haskell\r\nfmapFromHogle =\"<span class=name><0>fmap</0></span> :: Functor f =&gt; (a -&gt; b) -&gt; f a -&gt; f b\"\r\n\r\n*Main λ> TS.parseTags fmapFromHogle\r\n[TagOpen \"span\" [(\"class\",\"name\")],TagText \"<0>fmap\",TagComment \"0\",TagClose \"span\",TagText \" :: Functor f => (a -> b) -> f a -> f b\"]\r\n```\r\n\r\nthe `<0>` isen't parsed as a tag, if I replace it with a `<x>` for example it works\r\n`<x1>` works as well, but `<1x>` dosen't \r\n``` haskell\r\n[TagOpen \"span\" [(\"class\",\"name\")],TagOpen \"x\" [],TagText \"fmap\",TagClose \"x\",TagClose \"span\",TagText \" :: Functor f => (a -> b) -> f\r\na -> f b\"]\r\n``` "},"comment":{"url":"https://api.github.com/repos/ndmitchell/tagsoup/issues/comments/435631937","html_url":"https://github.com/ndmitchell/tagsoup/issues/76#issuecomment-435631937","issue_url":"https://api.github.com/repos/ndmitchell/tagsoup/issues/76","id":435631937,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTYzMTkzNw==","user":{"login":"meck","id":762115,"node_id":"MDQ6VXNlcjc2MjExNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/762115?v=4","gravatar_id":"","url":"https://api.github.com/users/meck","html_url":"https://github.com/meck","followers_url":"https://api.github.com/users/meck/followers","following_url":"https://api.github.com/users/meck/following{/other_user}","gists_url":"https://api.github.com/users/meck/gists{/gist_id}","starred_url":"https://api.github.com/users/meck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meck/subscriptions","organizations_url":"https://api.github.com/users/meck/orgs","repos_url":"https://api.github.com/users/meck/repos","events_url":"https://api.github.com/users/meck/events{/privacy}","received_events_url":"https://api.github.com/users/meck/received_events","type":"User","site_admin":false},"created_at":"2018-11-04T00:31:15Z","updated_at":"2018-11-04T00:31:15Z","author_association":"NONE","body":"Closing as I found out it's invalid html, [issue](https://github.com/ndmitchell/hoogle/issues/275) at Hoogle"}}
{"actor":{"display_login":"meck"}}