Cucumber 7.x: Determining Step Matching Priority Between Cucumber Expressions and Regular Expressions
Goal We want to know how Cucumber 7.x resolves step definitions when a Gherkin line can be matched by both a Cucumber Expression and a Regular Expression. Context In a mixed‑annotation project, a step may be annotated with both @Given("I have a {int}") and @Given("^I have a (\\d+)$") and can trigger an AmbiguousStepDefinitionException. The current documentat