{"action":"created","issue":{"url":"https://api.github.com/repos/cucumber/cucumber-jvm/issues/1041","repository_url":"https://api.github.com/repos/cucumber/cucumber-jvm","labels_url":"https://api.github.com/repos/cucumber/cucumber-jvm/issues/1041/labels{/name}","comments_url":"https://api.github.com/repos/cucumber/cucumber-jvm/issues/1041/comments","events_url":"https://api.github.com/repos/cucumber/cucumber-jvm/issues/1041/events","html_url":"https://github.com/cucumber/cucumber-jvm/issues/1041","id":170051258,"node_id":"MDU6SXNzdWUxNzAwNTEyNTg=","number":1041,"title":"Add support for Cucumber Expressions","user":{"login":"aslakhellesoy","id":1000,"node_id":"MDQ6VXNlcjEwMDA=","avatar_url":"https://avatars3.githubusercontent.com/u/1000?v=4","gravatar_id":"","url":"https://api.github.com/users/aslakhellesoy","html_url":"https://github.com/aslakhellesoy","followers_url":"https://api.github.com/users/aslakhellesoy/followers","following_url":"https://api.github.com/users/aslakhellesoy/following{/other_user}","gists_url":"https://api.github.com/users/aslakhellesoy/gists{/gist_id}","starred_url":"https://api.github.com/users/aslakhellesoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aslakhellesoy/subscriptions","organizations_url":"https://api.github.com/users/aslakhellesoy/orgs","repos_url":"https://api.github.com/users/aslakhellesoy/repos","events_url":"https://api.github.com/users/aslakhellesoy/events{/privacy}","received_events_url":"https://api.github.com/users/aslakhellesoy/received_events","type":"User","site_admin":false},"labels":[{"id":141232,"node_id":"MDU6TGFiZWwxNDEyMzI=","url":"https://api.github.com/repos/cucumber/cucumber-jvm/labels/Core","name":"Core","color":"02d7e1","default":false},{"id":433638670,"node_id":"MDU6TGFiZWw0MzM2Mzg2NzA=","url":"https://api.github.com/repos/cucumber/cucumber-jvm/labels/Cucumber%20Expressions","name":"Cucumber Expressions","color":"02d7e1","default":false},{"id":35607151,"node_id":"MDU6TGFiZWwzNTYwNzE1MQ==","url":"https://api.github.com/repos/cucumber/cucumber-jvm/labels/Feature%20Request","name":"Feature Request","color":"1d76db","default":false},{"id":731701407,"node_id":"MDU6TGFiZWw3MzE3MDE0MDc=","url":"https://api.github.com/repos/cucumber/cucumber-jvm/labels/Slow%20Burner","name":"Slow Burner","color":"f9d0c4","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-08-08T23:43:56Z","updated_at":"2018-11-16T09:18:31Z","closed_at":"2018-05-14T20:52:01Z","author_association":"CONTRIBUTOR","body":"## Summary\n\n[Cucumber Expressions](http://docs.cucumber.io/cucumber-expressions/) is a new alternative to\nRegular Expressions, which is easier to read and write, and less daunting.\n## Expected Behavior\n\n<!--- If you're describing a bug, tell us what should happen -->\n\n<!--- If you're suggesting a change/improvement, tell us how it should work -->\n\n<!--- Feel free to use Given / Then / Then if that helps, but please add some plain-language context too -->\n\nStep Defintions that don't start with a `^` or end with a `$` should be interpreted as a Cucumber Expression:\n\n``` Java\n@Given(\"I have {n} cukes in my belly\")\n```\n\nAlternatively we can decide to use regular expressions if the string uses `/` delimiters:\n\n``` Java\n@Given(\"/I have (\\\\d+) cukes in my belly/\")\n```\n\nWhatever mechanism we choose to differentiate is likely to break existing step definitions, so we'd have to make a new major release and document how to migrate.\n\nSnippets for undefined steps should use Cucumber Expressions, and not Regular Expressions. We want users to start migrating, and if we can avoid it we'll not generate snippets with regular expressions. (Well, we might if enough people want it). The `cucumber-expression` library can already generate expressions from text.\n\nFinally, the current `Transform` logic should be deprecated and the logic built into the `cucumber-expression` library should be used instead.\n## Context & Motivation\n\nHaving to use Regular Expressions is one of the most common complaints against Cucumber. Other clones of Cucumber who support something similar to Cucumber Expressions seem to have happier users!\n"},"comment":{"url":"https://api.github.com/repos/cucumber/cucumber-jvm/issues/comments/439331172","html_url":"https://github.com/cucumber/cucumber-jvm/issues/1041#issuecomment-439331172","issue_url":"https://api.github.com/repos/cucumber/cucumber-jvm/issues/1041","id":439331172,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTMzMTE3Mg==","user":{"login":"mpkorstanje","id":6946919,"node_id":"MDQ6VXNlcjY5NDY5MTk=","avatar_url":"https://avatars2.githubusercontent.com/u/6946919?v=4","gravatar_id":"","url":"https://api.github.com/users/mpkorstanje","html_url":"https://github.com/mpkorstanje","followers_url":"https://api.github.com/users/mpkorstanje/followers","following_url":"https://api.github.com/users/mpkorstanje/following{/other_user}","gists_url":"https://api.github.com/users/mpkorstanje/gists{/gist_id}","starred_url":"https://api.github.com/users/mpkorstanje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpkorstanje/subscriptions","organizations_url":"https://api.github.com/users/mpkorstanje/orgs","repos_url":"https://api.github.com/users/mpkorstanje/repos","events_url":"https://api.github.com/users/mpkorstanje/events{/privacy}","received_events_url":"https://api.github.com/users/mpkorstanje/received_events","type":"User","site_admin":false},"created_at":"2018-11-16T09:18:31Z","updated_at":"2018-11-16T09:18:31Z","author_association":"CONTRIBUTOR","body":"Heya, you're better of asking further questions on Slack of the mailing list. Maintainers don't scale. :D\r\n\r\n1. `the client has an account balance of ${bigDecimal}`\r\n2. Regular expressions and Cucumber expressions are both supported.\r\n3. Because XStream was removed your regular expression won't be transformed into a big decimal straight away. You'll have to register it as a parameter type. \r\n4. [Version 4.2 supports anonymous parameter types which will make a best effort attempt. \r\n](https://cucumber.io/blog/2018/10/31/announcing-cucumber-jvm-4-2-0)\r\n"}}
{"actor":{"display_login":"mpkorstanje"}}