{"action":"created","issue":{"url":"https://api.github.com/repos/rakudo/rakudo/issues/2112","repository_url":"https://api.github.com/repos/rakudo/rakudo","labels_url":"https://api.github.com/repos/rakudo/rakudo/issues/2112/labels{/name}","comments_url":"https://api.github.com/repos/rakudo/rakudo/issues/2112/comments","events_url":"https://api.github.com/repos/rakudo/rakudo/issues/2112/events","html_url":"https://github.com/rakudo/rakudo/issues/2112","id":343415654,"node_id":"MDU6SXNzdWUzNDM0MTU2NTQ=","number":2112,"title":"Some regex quantifiers don't work as expected","user":{"login":"jmaslak","id":673827,"node_id":"MDQ6VXNlcjY3MzgyNw==","avatar_url":"https://avatars2.githubusercontent.com/u/673827?v=4","gravatar_id":"","url":"https://api.github.com/users/jmaslak","html_url":"https://github.com/jmaslak","followers_url":"https://api.github.com/users/jmaslak/followers","following_url":"https://api.github.com/users/jmaslak/following{/other_user}","gists_url":"https://api.github.com/users/jmaslak/gists{/gist_id}","starred_url":"https://api.github.com/users/jmaslak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmaslak/subscriptions","organizations_url":"https://api.github.com/users/jmaslak/orgs","repos_url":"https://api.github.com/users/jmaslak/repos","events_url":"https://api.github.com/users/jmaslak/events{/privacy}","received_events_url":"https://api.github.com/users/jmaslak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-22T15:38:23Z","updated_at":"2018-07-26T17:18:57Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## The Problem\r\n\r\nThis regex, demonstrated here, returns true when it shouldn't (I think!).\r\n\r\nThis is a golfed exampe -\r\n\r\n`perl6 -e 'say \"aaa\" ~~ m/(a ** {2..*}) ** 2..*/'`\r\n\r\nOutput:\r\n```\r\n[0] red:jmaslak$ perl6 -e 'say \"aaa\" ~~ m/(a ** {2..*}) ** 2..*/'\r\n｢aaa｣\r\n 0 => ｢a｣\r\n 0 => ｢aa｣\r\n[0] red:jmaslak$\r\n```\r\n\r\nNote `perl6 -e 'say \"aaa\" ~~ m/(a ** 2..*) ** 2..*/'` does what I would expect it to do (returns false).  So does `perl6 -e 'say \"aaa\" ~~ m/(a ** 2..*) ** {2..*}/'`\r\n\r\n## Expected Behavior\r\n\r\nExpected behaviro is returning false.\r\n\r\n## Actual Behavior\r\n\r\nReturns a true value.\r\n\r\n## Steps to Reproduce\r\n\r\n`perl6 -e 'say \"aaa\" ~~ m/(a ** {2..*}) ** 2..*/'`\r\n\r\n## Environment\r\n* Operating system: Ubuntu 16.04\r\n* Compiler version (`perl6 -v`): 2008.06 6.c\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rakudo/rakudo/issues/comments/408170434","html_url":"https://github.com/rakudo/rakudo/issues/2112#issuecomment-408170434","issue_url":"https://api.github.com/repos/rakudo/rakudo/issues/2112","id":408170434,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODE3MDQzNA==","user":{"login":"lizmat","id":2229339,"node_id":"MDQ6VXNlcjIyMjkzMzk=","avatar_url":"https://avatars0.githubusercontent.com/u/2229339?v=4","gravatar_id":"","url":"https://api.github.com/users/lizmat","html_url":"https://github.com/lizmat","followers_url":"https://api.github.com/users/lizmat/followers","following_url":"https://api.github.com/users/lizmat/following{/other_user}","gists_url":"https://api.github.com/users/lizmat/gists{/gist_id}","starred_url":"https://api.github.com/users/lizmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizmat/subscriptions","organizations_url":"https://api.github.com/users/lizmat/orgs","repos_url":"https://api.github.com/users/lizmat/repos","events_url":"https://api.github.com/users/lizmat/events{/privacy}","received_events_url":"https://api.github.com/users/lizmat/received_events","type":"User","site_admin":false},"created_at":"2018-07-26T17:18:57Z","updated_at":"2018-07-26T17:18:57Z","author_association":"CONTRIBUTOR","body":"So, can we close this ticket?  Or should we work on documentation?"}}
{"actor":{"display_login":"lizmat"}}