{"action":"created","issue":{"url":"https://api.github.com/repos/ammar/regexp_parser/issues/21","repository_url":"https://api.github.com/repos/ammar/regexp_parser","labels_url":"https://api.github.com/repos/ammar/regexp_parser/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/ammar/regexp_parser/issues/21/comments","events_url":"https://api.github.com/repos/ammar/regexp_parser/issues/21/events","html_url":"https://github.com/ammar/regexp_parser/issues/21","id":156418140,"number":21,"title":"Hex type (`\\h`) and nonhex type (`\\H`) not implemented ","user":{"login":"backus","id":2085622,"avatar_url":"https://avatars.githubusercontent.com/u/2085622?v=3","gravatar_id":"","url":"https://api.github.com/users/backus","html_url":"https://github.com/backus","followers_url":"https://api.github.com/users/backus/followers","following_url":"https://api.github.com/users/backus/following{/other_user}","gists_url":"https://api.github.com/users/backus/gists{/gist_id}","starred_url":"https://api.github.com/users/backus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/backus/subscriptions","organizations_url":"https://api.github.com/users/backus/orgs","repos_url":"https://api.github.com/users/backus/repos","events_url":"https://api.github.com/users/backus/events{/privacy}","received_events_url":"https://api.github.com/users/backus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-24T04:35:01Z","updated_at":"2016-05-25T14:10:46Z","closed_at":null,"body":"```ruby\r\n2.3.0 :012 > Regexp::Parser.parse(/\\h/)\r\nRegexp::Syntax::NotImplementedError: Regexp::Syntax::Ruby::V230 does not implement: [type:hex]\r\n\tfrom /Users/johnbackus/.rvm/gems/ruby-2.3.0/gems/regexp_parser-0.3.3/lib/regexp_parser/syntax.rb:154:in `implements!'\r\n\tfrom /Users/johnbackus/.rvm/gems/ruby-2.3.0/gems/regexp_parser-0.3.3/lib/regexp_parser/lexer.rb:22:in `block in lex'\r\n\tfrom /Users/johnbackus/.rvm/gems/ruby-2.3.0/gems/regexp_parser-0.3.3/lib/regexp_parser/scanner.rb:4200:in `emit'\r\n\tfrom /Users/johnbackus/.rvm/gems/ruby-2.3.0/gems/regexp_parser-0.3.3/lib/regexp_parser/scanner.rb:3366:in `scan'\r\n\tfrom /Users/johnbackus/.rvm/gems/ruby-2.3.0/gems/regexp_parser-0.3.3/lib/regexp_parser/lexer.rb:20:in `lex'\r\n\tfrom /Users/johnbackus/.rvm/gems/ruby-2.3.0/gems/regexp_parser-0.3.3/lib/regexp_parser/parser.rb:26:in `parse'\r\n\tfrom (irb):12\r\n\tfrom /Users/johnbackus/.rvm/rubies/ruby-2.3.0/bin/irb:11:in `<main>'\r\n\r\n2.3.0 :013 > Regexp::Parser.parse(/\\H/)\r\nRegexp::Syntax::NotImplementedError: Regexp::Syntax::Ruby::V230 does not implement: [type:nonhex]\r\n\tfrom /Users/johnbackus/.rvm/gems/ruby-2.3.0/gems/regexp_parser-0.3.3/lib/regexp_parser/syntax.rb:154:in `implements!'\r\n\tfrom /Users/johnbackus/.rvm/gems/ruby-2.3.0/gems/regexp_parser-0.3.3/lib/regexp_parser/lexer.rb:22:in `block in lex'\r\n\tfrom /Users/johnbackus/.rvm/gems/ruby-2.3.0/gems/regexp_parser-0.3.3/lib/regexp_parser/scanner.rb:4200:in `emit'\r\n\tfrom /Users/johnbackus/.rvm/gems/ruby-2.3.0/gems/regexp_parser-0.3.3/lib/regexp_parser/scanner.rb:3367:in `scan'\r\n\tfrom /Users/johnbackus/.rvm/gems/ruby-2.3.0/gems/regexp_parser-0.3.3/lib/regexp_parser/lexer.rb:20:in `lex'\r\n\tfrom /Users/johnbackus/.rvm/gems/ruby-2.3.0/gems/regexp_parser-0.3.3/lib/regexp_parser/parser.rb:26:in `parse'\r\n\tfrom (irb):13\r\n\tfrom /Users/johnbackus/.rvm/rubies/ruby-2.3.0/bin/irb:11:in `<main>'\r\n```"},"comment":{"url":"https://api.github.com/repos/ammar/regexp_parser/issues/comments/221588118","html_url":"https://github.com/ammar/regexp_parser/issues/21#issuecomment-221588118","issue_url":"https://api.github.com/repos/ammar/regexp_parser/issues/21","id":221588118,"user":{"login":"ammar","id":2959,"avatar_url":"https://avatars.githubusercontent.com/u/2959?v=3","gravatar_id":"","url":"https://api.github.com/users/ammar","html_url":"https://github.com/ammar","followers_url":"https://api.github.com/users/ammar/followers","following_url":"https://api.github.com/users/ammar/following{/other_user}","gists_url":"https://api.github.com/users/ammar/gists{/gist_id}","starred_url":"https://api.github.com/users/ammar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ammar/subscriptions","organizations_url":"https://api.github.com/users/ammar/orgs","repos_url":"https://api.github.com/users/ammar/repos","events_url":"https://api.github.com/users/ammar/events{/privacy}","received_events_url":"https://api.github.com/users/ammar/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T14:10:46Z","updated_at":"2016-05-25T14:10:46Z","body":"@backus I'm very sorry for the delayed response on all the previous issues. I've been slammed at work and I totally dropped the ball.\r\n\r\nHard to believe this has been around for that long (1.9.1). The Hex tokens are being added under `:escape` instead of `:type`:\r\n\r\nhttps://github.com/ammar/regexp_parser/blob/master/lib/regexp_parser/syntax/ruby/1.9.1.rb#L18\r\n\r\nI will push a fix shortly."}}
{"actor":{"display_login":"ammar"}}