{"action":"created","issue":{"url":"https://api.github.com/repos/pauloscustodio/Text-MacroScript/issues/1","labels_url":"https://api.github.com/repos/pauloscustodio/Text-MacroScript/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/pauloscustodio/Text-MacroScript/issues/1/comments","events_url":"https://api.github.com/repos/pauloscustodio/Text-MacroScript/issues/1/events","html_url":"https://github.com/pauloscustodio/Text-MacroScript/issues/1","id":66476312,"number":1,"title":"Bug: expansion depends on size of macro name","user":{"login":"pauloscustodio","id":70773,"avatar_url":"https://avatars.githubusercontent.com/u/70773?v=3","gravatar_id":"","url":"https://api.github.com/users/pauloscustodio","html_url":"https://github.com/pauloscustodio","followers_url":"https://api.github.com/users/pauloscustodio/followers","following_url":"https://api.github.com/users/pauloscustodio/following{/other_user}","gists_url":"https://api.github.com/users/pauloscustodio/gists{/gist_id}","starred_url":"https://api.github.com/users/pauloscustodio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pauloscustodio/subscriptions","organizations_url":"https://api.github.com/users/pauloscustodio/orgs","repos_url":"https://api.github.com/users/pauloscustodio/repos","events_url":"https://api.github.com/users/pauloscustodio/events{/privacy}","received_events_url":"https://api.github.com/users/pauloscustodio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pauloscustodio/Text-MacroScript/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-05T19:58:43Z","updated_at":"2015-04-06T22:17:38Z","closed_at":null,"body":"Text is replaced by macro definitions searching the macros in order of name length. This is so that a larger string is matched before a smaller one.\r\n\r\nThe result is different outcomes depending on the size of the macro names, e.g.\r\n%DEFINE hello [Hallo]\r\n%DEFINE Z1 [hel]\r\n%DEFINE Z2 [lo]\r\nZ1Z1 --> hello\r\n\r\n%DEFINE hello [Hallo]\r\n%DEFINE ZZZZZ1 [hel]\r\n%DEFINE ZZZZZ2 [lo]\r\nZZZZZ1ZZZZZ1 --> Hallo\r\n"},"comment":{"url":"https://api.github.com/repos/pauloscustodio/Text-MacroScript/issues/comments/90262324","html_url":"https://github.com/pauloscustodio/Text-MacroScript/issues/1#issuecomment-90262324","issue_url":"https://api.github.com/repos/pauloscustodio/Text-MacroScript/issues/1","id":90262324,"user":{"login":"pauloscustodio","id":70773,"avatar_url":"https://avatars.githubusercontent.com/u/70773?v=3","gravatar_id":"","url":"https://api.github.com/users/pauloscustodio","html_url":"https://github.com/pauloscustodio","followers_url":"https://api.github.com/users/pauloscustodio/followers","following_url":"https://api.github.com/users/pauloscustodio/following{/other_user}","gists_url":"https://api.github.com/users/pauloscustodio/gists{/gist_id}","starred_url":"https://api.github.com/users/pauloscustodio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pauloscustodio/subscriptions","organizations_url":"https://api.github.com/users/pauloscustodio/orgs","repos_url":"https://api.github.com/users/pauloscustodio/repos","events_url":"https://api.github.com/users/pauloscustodio/events{/privacy}","received_events_url":"https://api.github.com/users/pauloscustodio/received_events","type":"User","site_admin":false},"created_at":"2015-04-06T22:17:38Z","updated_at":"2015-04-06T22:17:38Z","body":"Similar to issue #7 "}}