{"action":"created","issue":{"url":"https://api.github.com/repos/yuin/gopher-lua/issues/10","labels_url":"https://api.github.com/repos/yuin/gopher-lua/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/yuin/gopher-lua/issues/10/comments","events_url":"https://api.github.com/repos/yuin/gopher-lua/issues/10/events","html_url":"https://github.com/yuin/gopher-lua/issues/10","id":59326680,"number":10,"title":"inspect.lua doesn't work","user":{"login":"chobie","id":195038,"avatar_url":"https://avatars.githubusercontent.com/u/195038?v=3","gravatar_id":"","url":"https://api.github.com/users/chobie","html_url":"https://github.com/chobie","followers_url":"https://api.github.com/users/chobie/followers","following_url":"https://api.github.com/users/chobie/following{/other_user}","gists_url":"https://api.github.com/users/chobie/gists{/gist_id}","starred_url":"https://api.github.com/users/chobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chobie/subscriptions","organizations_url":"https://api.github.com/users/chobie/orgs","repos_url":"https://api.github.com/users/chobie/repos","events_url":"https://api.github.com/users/chobie/events{/privacy}","received_events_url":"https://api.github.com/users/chobie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-28T05:28:57Z","updated_at":"2015-02-28T08:35:43Z","closed_at":null,"body":"Hi, I've just played with inspect.lua (https://github.com/kikito/inspect.lua) but it seems it doesn't work correctly.\r\n\r\nfor example)\r\n```\r\nmacbook% ../bin/glua bug.lua\r\n\r\ninspect.lua:300: attempt to index a non-table object(nil)\r\nstack traceback:\r\ninspect.lua:300: in inspect.lua:297\r\n(tailcall): ?\r\nbug.lua:2: in main chunk\r\n[G]: ?\r\nmacbook% lua bug.lua\r\n\"hello\"\r\n```\r\n\r\nhttps://gist.github.com/chobie/bcff5c74c915422a3075\r\n\r\nalso, I've tested above script with lua 5.1.5 and lua 5.2.3 and it works fine.\r\ncan you check this if you have a chance?\r\n\r\nThanks,"},"comment":{"url":"https://api.github.com/repos/yuin/gopher-lua/issues/comments/76517216","html_url":"https://github.com/yuin/gopher-lua/issues/10#issuecomment-76517216","issue_url":"https://api.github.com/repos/yuin/gopher-lua/issues/10","id":76517216,"user":{"login":"chobie","id":195038,"avatar_url":"https://avatars.githubusercontent.com/u/195038?v=3","gravatar_id":"","url":"https://api.github.com/users/chobie","html_url":"https://github.com/chobie","followers_url":"https://api.github.com/users/chobie/followers","following_url":"https://api.github.com/users/chobie/following{/other_user}","gists_url":"https://api.github.com/users/chobie/gists{/gist_id}","starred_url":"https://api.github.com/users/chobie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chobie/subscriptions","organizations_url":"https://api.github.com/users/chobie/orgs","repos_url":"https://api.github.com/users/chobie/repos","events_url":"https://api.github.com/users/chobie/events{/privacy}","received_events_url":"https://api.github.com/users/chobie/received_events","type":"User","site_admin":false},"created_at":"2015-02-28T08:35:43Z","updated_at":"2015-02-28T08:35:43Z","body":"Thanks, but more problems appeared.\r\n\r\n* [G]: error parsing regexp: trailing backslash at end of expression: ``\r\n\r\n```\r\nstr = \"hello\"\r\nstr:gsub(\"\\\\\", \"\\\\\\\\\")\r\n```\r\n\r\nI guess `inspect.lua` will work fine when this problem solved."}}